ソースを参照

改价和入库

shish 2 年 前
コミット
eeb80eb1a3
1 ファイル変更13 行追加15 行削除
  1. 13 15
      hdApp/src/admin/ghs/pay.vue

+ 13 - 15
hdApp/src/admin/ghs/pay.vue

@@ -108,21 +108,19 @@
 						}
 					}
 				})
-
-				getOrderShop(true).then(res => {
-					this.inpFocus = true
-					// 设置分享
-					let shareParams = {
-						title: `点我付款`, // 分享标题
-						desc: '享随机优惠,最高20元', // 分享内容
-						imgUrl: '',
-						pagePath: `/pages/pay/index?account=${res.shop.id}&store=0`
-					}
-                    // #ifdef MP-WEIXIN
-					this.jweixinFn(shareParams)
-                    // #endif
-					console.log(`/pages/pay/index?account=${res.shop.id}&store=0`)
-				})
+				
+				this.inpFocus = true
+				// 设置分享
+				let shareParams = {
+					title: `点击结账付款`,
+					desc: '',
+					imgUrl: '',
+					pagePath: `/admin/ghs/pay?id=${this.id}&salt=${this.salt}`
+				}
+				// #ifdef MP-WEIXIN
+				this.jweixinFn(shareParams)
+				// #endif
+				console.log(`/admin/ghs/pay?id=${this.id}&salt=${this.salt}`)
 			},
 			toPay() {
 				if (!this.amount) {