Commit f3db45e8 by 姜雷

修改下单请求参数

parent e5343644
......@@ -171,21 +171,33 @@ Component({
checkBillType(e) {
console.log(e);
const { value } = e.currentTarget.dataset;
if (value === this.data.billType) return;
this.setData({
billType: value,
});
if (this.data.type === 2) {
this.fetchRechargeOrderQRcode();
}
},
fetchRechargeOrderQRcode() {
wx.showLoading({
title: '',
});
if (timer) {
clearInterval(timer);
this.setData({
payQrUrl: '',
countDown: 600,
countDownString: '0秒',
});
}
wx.login({
success: res => {
if (res.code) {
const entity = {
billType: this.data.billType,
isAgree: 1,
jsCode: 'string',
jsCode: res.code,
operateId: this.data.userInfo.operateId,
operateName: this.data.userInfo.operateName,
rechargeType: '2',
......
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