...
|
...
|
@@ -60,13 +60,14 @@ exports.ensure = (req, res, next) => { |
|
|
let view;
|
|
|
|
|
|
if (paymentInfo.code !== 200) {
|
|
|
if (paymentInfo.message) {
|
|
|
view = {
|
|
|
orderEnsure: false,
|
|
|
message: paymentInfo.message
|
|
|
};
|
|
|
} else {
|
|
|
return Promise.reject(paymentInfo);
|
|
|
|
|
|
// hotfix: nginx 接口限流, code:9999991时没message 信息
|
|
|
if (!view.message) {
|
|
|
view.message = '挤爆啦,系统繁忙';
|
|
|
}
|
|
|
} else {
|
|
|
// 渲染
|
...
|
...
|
|