|
|
@@ -309,26 +309,18 @@
|
|
|
if (!this.$u.test.isEmpty(parseFloat(this.data.cashValue))) {
|
|
|
this.orderId = this.$u.guid(16);
|
|
|
//去支付,支付成功后
|
|
|
- let orderInfo = (await this.$u.api.yeePay.initOrder({
|
|
|
- "appId": appId,
|
|
|
- "channel": "WECHAT",
|
|
|
- "channelPromotionInfo": "",
|
|
|
- "channelSpecifiedInfo": "",
|
|
|
- "csUrl": "",
|
|
|
- "expiredTime": "",
|
|
|
- "fundProcessType": "",
|
|
|
- "goodsName": this.detail.name,
|
|
|
- "memo": "",
|
|
|
- "notifyUrl": "https://music.nanyue6688.com/ldt/api/yeePay/notify",
|
|
|
- "orderAmount": this.data.cashValue,
|
|
|
- "orderId": this.orderId,
|
|
|
- "payWay": "WECHAT_OFFIACCOUNT",
|
|
|
- "redirectUrl": "",
|
|
|
- "scene": "OFFLINE",
|
|
|
- "uniqueOrderNo": "",
|
|
|
- "userId": uni.getStorageSync("userId"),
|
|
|
- "userIp": "127.0.0.1"
|
|
|
- }));
|
|
|
+ let orderInfo = (await this.$u.api.yeePay.initOrder(
|
|
|
+ {
|
|
|
+ "channel": "ALIPAY",
|
|
|
+ "goodsName": this.detail.name,
|
|
|
+ "notifyUrl": "1",
|
|
|
+ "orderAmount": this.data.cashValue,
|
|
|
+ "orderId": this.orderId,
|
|
|
+ "payWay": "USER_SCAN",
|
|
|
+ "scene": "OFFLINE",
|
|
|
+ "userIp": "127.0.0.1"
|
|
|
+ }
|
|
|
+ ));
|
|
|
this.$u.api.boost.billRecord({
|
|
|
orderId: this.orderId,
|
|
|
payPath: encodeURIComponent(window.location.href),
|