|
|
import payModel from '../models/pay/pay';
|
|
|
import commonModel from '../models/common';
|
|
|
import Yas from '../common/yas';
|
|
|
|
|
|
const PAYMENT_CODE = '45';
|
...
|
...
|
@@ -102,12 +103,11 @@ function wechatPay(order, callback) { |
|
|
prepareID = prepareID.slice(10);
|
|
|
|
|
|
//上报formID
|
|
|
payModel.paySuccessConfirm({
|
|
|
commonModel.addWechatFormId({
|
|
|
order_code: orderCode,
|
|
|
openId: app.getOpenID(),
|
|
|
miniapp_type: app.getMiniappType(),
|
|
|
formId: prepareID,
|
|
|
method: 'wechat.formId.add',
|
|
|
formType: 'pay',
|
|
|
});
|
|
|
}
|
...
|
...
|
|