Authored by yyq

pay

@@ -2,7 +2,7 @@ import payModel from '../models/pay/pay'; @@ -2,7 +2,7 @@ import payModel from '../models/pay/pay';
2 import commonModel from '../models/common'; 2 import commonModel from '../models/common';
3 import Yas from '../common/yas'; 3 import Yas from '../common/yas';
4 4
5 -const PAYMENT_CODE = '45'; 5 +const PAYMENT_CODE = '56'; // 红人分销支付类型
6 6
7 let app = getApp(); 7 let app = getApp();
8 let router = global.router; 8 let router = global.router;
@@ -78,6 +78,7 @@ function wechatPay(order, callback) { @@ -78,6 +78,7 @@ function wechatPay(order, callback) {
78 }); 78 });
79 79
80 payModel.wechatPay({ 80 payModel.wechatPay({
  81 + app_id: app.getAppId(),
81 order_code: orderCode, 82 order_code: orderCode,
82 payment_code: PAYMENT_CODE, 83 payment_code: PAYMENT_CODE,
83 '3rd_session': wechatSession 84 '3rd_session': wechatSession