Authored by 郭成尧

payModel-ctx

... ... @@ -277,7 +277,7 @@ class cartModel {
// 订单详情页拆单
if (orderCode) {
return payModel.getOtherDetail({
return this.ctx(payModel).getOtherDetail({
uid: uid,
orderCode: orderCode,
sessionKey: sessionKey
... ...
... ... @@ -22,7 +22,7 @@ exports.orderDetailData = (req, res, next) => {
if (req.query.openId) {
// 微信支付成功,发送支付确认接口
payModel.sendPayConfirm(orderCode, 22, uid);
req.ctx(payModel).sendPayConfirm(orderCode, 22, uid);
}
Promise.all([
... ...