Merge branch 'release/6.2' of git.yoho.cn:fe/yohobuywap-node into release/6.2
Showing
1 changed file
with
3 additions
and
2 deletions
@@ -46,8 +46,9 @@ class seckillModel extends global.yoho.BaseModel { | @@ -46,8 +46,9 @@ class seckillModel extends global.yoho.BaseModel { | ||
46 | if (result.code === 200 && result.data) { | 46 | if (result.code === 200 && result.data) { |
47 | result.data.yohoCoinCompute = paymentProcess.yohoCoinCompute(result.data); | 47 | result.data.yohoCoinCompute = paymentProcess.yohoCoinCompute(result.data); |
48 | } else if (result.code === 9999992) { | 48 | } else if (result.code === 9999992) { |
49 | - result.data.code = result.code; | ||
50 | - result.data.message = '人太多啦,稍后再试!'; | 49 | + result.data = { |
50 | + code: result.code | ||
51 | + }; | ||
51 | } | 52 | } |
52 | return result; | 53 | return result; |
53 | }); | 54 | }); |
-
Please register or login to post a comment