Authored by 郭成尧

address-cache-false

@@ -9,27 +9,6 @@ const crypto = global.yoho.crypto; @@ -9,27 +9,6 @@ const crypto = global.yoho.crypto;
9 * 地址数据 9 * 地址数据
10 * @param uid 10 * @param uid
11 * @return 11 * @return
12 - * {  
13 - * "code":200,  
14 - * "data":[  
15 - * {  
16 - * "area":"江苏省 南京市 浦口区",  
17 - * "address":"沿江街道******,  
18 - * "consignee":"孟令阶",  
19 - * "is_support":"Y",  
20 - * "area_code":"320111",  
21 - * "mobile":"180****2255",  
22 - * "address_id":"6117354", // 会被加密  
23 - * "is_default":"N",  
24 - * "is_delivery":"Y",  
25 - * "zip_code":"",  
26 - * "uid":"14616040",  
27 - * "phone":"",  
28 - * "email":""}  
29 - * ],  
30 - * "md5":"c35872955397cd0aabff4583cd41ac4b",  
31 - * "message":"Address List"  
32 - * }  
33 */ 12 */
34 exports.addressData = (uid) => { 13 exports.addressData = (uid) => {
35 let params = { 14 let params = {
@@ -38,7 +17,7 @@ exports.addressData = (uid) => { @@ -38,7 +17,7 @@ exports.addressData = (uid) => {
38 }; 17 };
39 18
40 let options = { 19 let options = {
41 - cache: true 20 + cache: false
42 }; 21 };
43 22
44 return api.get('', params, options) 23 return api.get('', params, options)