Просмотр исходного кода

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

lyqu 4 лет назад
Родитель
Сommit
414d902f86

+ 1 - 10
pages/activityList/activity/authorBoost.vue

@@ -353,16 +353,7 @@
 				let _this = this;
 				WeixinJSBridge.invoke('getBrandWCPayRequest', info, (res) => {
 					if (res.err_msg == "get_brand_wcpay_request:ok" ) {
-						_this.$u.api.boost.doReward({
-							activityId: _this.activityId,
-							presentId: _this.boostDetail.presentList[_this.current].id,
-							senderId: _this.senderId,
-							receiverId: _this.receiverId,
-							type: 3,
-							count: _this.count,
-						}).then(res => {
-							_this.successShow = true;
-						})
+						_this.successShow = true;
 					} else if (res.err_msg == "get_brand_wcpay_request:cancel") {
 						console.log("cancel");
 					} else {

+ 1 - 11
pages/activityList/activity/musicBoost.vue

@@ -337,17 +337,7 @@
 				let _this = this;
 				WeixinJSBridge.invoke('getBrandWCPayRequest', info, (res) => {
 					if (res.err_msg == "get_brand_wcpay_request:ok" ) {
-						_this.$u.api.boost.doReward({
-							activityId: _this.boostDetail.activityId,
-							productId:_this.productId,
-							presentId: _this.boostDetail.presentList[_this.current].id,
-							senderId: _this.userId,
-							receiverId: _this.boostDetail.userId,
-							type: 1,
-							count: _this.count,
-						}).then(res => {
-							_this.successShow = true;
-						})
+						_this.successShow = true;
 					} else if (res.err_msg == "get_brand_wcpay_request:cancel") {
 						console.log("cancel");
 					} else {