Commit 6ef75384 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 8bf279d4
......@@ -241,11 +241,11 @@
if (!tt.canIUse('getOrderPayment.object.imId')) {
message.notify('请升级抖音APP版本');
return
}
if (ttData.imId == null) {
message.notify('暂不支付ios支付,请更换设备');
return
}
if (ttData.imId == null) {
message.notify('暂不支付ios支付,请更换设备');
return
}
tt.getOrderPayment({
......@@ -255,6 +255,11 @@
that.queryOrderStatus(largeType, ttData.tidStr);
},
fail(res) {
if (res.errNo == '4') {
// 4-支付取消
}
message.notify(res.errMsg);
},
});
......@@ -264,7 +269,11 @@
success(res) {
that.queryOrderStatus(largeType, ttData.tidStr);
},
fail(res) {
fail(res) {
if (res.errNo == '4') {
// 4-支付取消
}
// message.notify(res.errMsg);
},
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment