...
|
...
|
@@ -2,7 +2,7 @@ import payModel from '../models/pay/pay'; |
|
|
import commonModel from '../models/common';
|
|
|
import Yas from '../common/yas';
|
|
|
|
|
|
const PAYMENT_CODE = '45';
|
|
|
const PAYMENT_CODE = '56'; // 红人分销支付类型
|
|
|
|
|
|
let app = getApp();
|
|
|
let router = global.router;
|
...
|
...
|
@@ -78,9 +78,10 @@ function wechatPay(order, callback) { |
|
|
});
|
|
|
|
|
|
payModel.wechatPay({
|
|
|
order_code: orderCode,
|
|
|
payment_code: PAYMENT_CODE,
|
|
|
'3rd_session': wechatSession
|
|
|
app_id: app.getAppId(),
|
|
|
order_code: orderCode,
|
|
|
payment_code: PAYMENT_CODE,
|
|
|
'3rd_session': wechatSession
|
|
|
}).then(res => {
|
|
|
wx.hideToast();
|
|
|
|
...
|
...
|
|