Showing
2 changed files
with
9 additions
and
1 deletions
@@ -258,7 +258,12 @@ class shoppingModel extends global.yoho.BaseModel { | @@ -258,7 +258,12 @@ class shoppingModel extends global.yoho.BaseModel { | ||
258 | coupon_code: params.coupon_code | 258 | coupon_code: params.coupon_code |
259 | }; | 259 | }; |
260 | 260 | ||
261 | - return this.get({data: param}); | 261 | + return this.get({ |
262 | + data: param, | ||
263 | + param: { | ||
264 | + cache: false | ||
265 | + } | ||
266 | + }); | ||
262 | } | 267 | } |
263 | 268 | ||
264 | /** | 269 | /** |
@@ -15,6 +15,9 @@ class CouponNewModel extends global.yoho.BaseModel { | @@ -15,6 +15,9 @@ class CouponNewModel extends global.yoho.BaseModel { | ||
15 | filter: params.filter || 0, | 15 | filter: params.filter || 0, |
16 | limit: 20, | 16 | limit: 20, |
17 | page: params.page || 1 | 17 | page: params.page || 1 |
18 | + }, | ||
19 | + param: { | ||
20 | + cache: false | ||
18 | } | 21 | } |
19 | }); | 22 | }); |
20 | } | 23 | } |
-
Please register or login to post a comment