Authored by 李靖

压测提示

... ... @@ -354,7 +354,7 @@ class couponFloor extends global.yoho.BaseModel {
case 9999992:
returnData = {
code: 9999992,
msg: '人太多啦,稍后再试!',
msg: '人太多啦,稍后再试!',
status: false
};
break;
... ...
... ... @@ -47,7 +47,7 @@ class seckillModel extends global.yoho.BaseModel {
result.data.yohoCoinCompute = paymentProcess.yohoCoinCompute(result.data);
} else if (result.code === 9999992) {
result.data.code = result.code;
result.data.message = result.message;
result.data.message = '人太多啦,稍后再试!';
}
return result;
});
... ...
... ... @@ -105,7 +105,7 @@ $receive.on('click', function() {
}
return false;
} else if (data.code === 9999992) {
tip.show(data.message);
tip.show('人太多啦,稍后再试!');
}
if (data.status) {
... ...
... ... @@ -166,7 +166,7 @@ function orderCompute() {
data: data
}).then(function(res) {
if (res.code === 9999992) {
tip.show(res.message);
tip.show('人太多啦,稍后再试!');
return false;
}
if ($.type(res) !== 'object') {
... ...
... ... @@ -84,7 +84,7 @@ let brandCoupon = {
if (res.code === 200) {
callback(); // eslint-disable-line
} else if (res.code === 9999992) {
tip.show(res.message);
tip.show('人太多啦,稍后再试!');
} else {
tip.show(
res.message || '抱歉,您不符合领用条件'
... ...