Authored by 李靖

压测提示

@@ -354,7 +354,7 @@ class couponFloor extends global.yoho.BaseModel { @@ -354,7 +354,7 @@ class couponFloor extends global.yoho.BaseModel {
354 case 9999992: 354 case 9999992:
355 returnData = { 355 returnData = {
356 code: 9999992, 356 code: 9999992,
357 - msg: '人太多啦,稍后再试!', 357 + msg: '人太多啦,稍后再试!',
358 status: false 358 status: false
359 }; 359 };
360 break; 360 break;
@@ -47,7 +47,7 @@ class seckillModel extends global.yoho.BaseModel { @@ -47,7 +47,7 @@ class seckillModel extends global.yoho.BaseModel {
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; 49 result.data.code = result.code;
50 - result.data.message = result.message; 50 + result.data.message = '人太多啦,稍后再试!';
51 } 51 }
52 return result; 52 return result;
53 }); 53 });
@@ -105,7 +105,7 @@ $receive.on('click', function() { @@ -105,7 +105,7 @@ $receive.on('click', function() {
105 } 105 }
106 return false; 106 return false;
107 } else if (data.code === 9999992) { 107 } else if (data.code === 9999992) {
108 - tip.show(data.message); 108 + tip.show('人太多啦,稍后再试!');
109 } 109 }
110 110
111 if (data.status) { 111 if (data.status) {
@@ -166,7 +166,7 @@ function orderCompute() { @@ -166,7 +166,7 @@ function orderCompute() {
166 data: data 166 data: data
167 }).then(function(res) { 167 }).then(function(res) {
168 if (res.code === 9999992) { 168 if (res.code === 9999992) {
169 - tip.show(res.message); 169 + tip.show('人太多啦,稍后再试!');
170 return false; 170 return false;
171 } 171 }
172 if ($.type(res) !== 'object') { 172 if ($.type(res) !== 'object') {
@@ -84,7 +84,7 @@ let brandCoupon = { @@ -84,7 +84,7 @@ let brandCoupon = {
84 if (res.code === 200) { 84 if (res.code === 200) {
85 callback(); // eslint-disable-line 85 callback(); // eslint-disable-line
86 } else if (res.code === 9999992) { 86 } else if (res.code === 9999992) {
87 - tip.show(res.message); 87 + tip.show('人太多啦,稍后再试!');
88 } else { 88 } else {
89 tip.show( 89 tip.show(
90 res.message || '抱歉,您不符合领用条件' 90 res.message || '抱歉,您不符合领用条件'