Quellcode durchsuchen

Merge branch 'master' of http://192.168.1.218:3000/liyingqu/cyzh-SoundOfMusic-H5

lyqu vor 4 Jahren
Ursprung
Commit
d17ddbed6f
1 geänderte Dateien mit 12 neuen und 20 gelöschten Zeilen
  1. 12 20
      pages/activityList/goods/detail.vue

+ 12 - 20
pages/activityList/goods/detail.vue

@@ -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),