lalala 6 years ago
parent
commit
c111d3ba8c
2 changed files with 5 additions and 5 deletions
  1. 1 1
      mobile-code/src/pages/home/user.vue
  2. 4 4
      mobile-code/src/pages/pay/index.vue

+ 1 - 1
mobile-code/src/pages/home/user.vue

@@ -160,7 +160,7 @@ export default {
 	methods: {
 		init() {
 			getShopUser().then(res => {
-				if (this.option.aaa && res.isFull != 1) {
+				if (this.option.scan == 1 && res.isFull != 1) {
 					this.isPublic = true
 					this.popupShow = true
 				}

+ 4 - 4
mobile-code/src/pages/pay/index.vue

@@ -206,10 +206,10 @@
 							desc: '享随机优惠,最高20元', // 分享内容
 							imgUrl: `${this.$constant.imgUrl}/retail/pay.jpg`,
 							// #ifdef H5
-							pagePath: `${this.$constant.formal}/#/pages/pay/index?account=${res.merchantId}&sourceType=2`,
+							pagePath: `${this.$constant.formal}/#/pages/pay/index?account=${res.merchantId}&store=1`,
 							// #endif
 							// #ifndef H5
-							pagePath: `/pages/pay/index?account=${res.merchantId}&sourceType=2`
+							pagePath: `/pages/pay/index?account=${res.merchantId}&store=1`
 							// #endif
 						}
 						this.jweixinFn(shareParams)
@@ -245,8 +245,8 @@
 							...deliveryRegion
 						}
 					}
-					if (this.option.sourceType) {
-						params.sourceType = this.option.sourceType
+					if (this.option.store) {
+						params.store = this.option.store
 					}
 					host = fastPay
 				}