duanshenglang 6 maanden geleden
bovenliggende
commit
79202e2a66
3 gewijzigde bestanden met toevoegingen van 7 en 7 verwijderingen
  1. 4 4
      lottery/carOwnerScreening.html
  2. 1 1
      lottery/index.html
  3. 2 2
      lottery/lightUpWl.html

+ 4 - 4
lottery/carOwnerScreening.html

@@ -423,9 +423,9 @@
               if (data.client.state === 2) {
                 let url = ''
                 if (!this.env || this.env === 'prod') {
-                  url = `https://lottery.camlook.cn/?bId=${data.raffle1BizId}&h5Type=30`
+                  url = `https://lottery2.camlook.cn/?bId=${data.raffle1BizId}&h5Type=30`
                 } else {
-                  url = `https://lottery.camlook.cn/?bId=${data.raffle1BizId}&env=dev&h5Type=30`
+                  url = `https://lottery2.camlook.cn/?bId=${data.raffle1BizId}&env=dev&h5Type=30`
                 }
                 window.location.replace(url)
               } else {
@@ -565,9 +565,9 @@
           if (code === 1) {
             let url = ''
             if (!this.env || this.env === 'prod') {
-              url = `https://lottery.camlook.cn/?bId=${this.lightData.raffle1BizId}&h5Type=30`
+              url = `https://lottery2.camlook.cn/?bId=${this.lightData.raffle1BizId}&h5Type=30`
             } else {
-              url = `https://lottery.camlook.cn/?bId=${this.lightData.raffle1BizId}&env=dev&h5Type=30`
+              url = `https://lottery2.camlook.cn/?bId=${this.lightData.raffle1BizId}&env=dev&h5Type=30`
             }
             window.location.replace(url)
           } else {

+ 1 - 1
lottery/index.html

@@ -164,7 +164,7 @@
 						// 客户画像
 						var currentQueryParams = window.location.search;
 						window.location.replace('onePersonOneCode.html' + currentQueryParams)
-					} else if (!this.h5Type) {
+					} else if (!this.h5Type && this.bId) {
 						this.getAuth()
 					}
 				},

+ 2 - 2
lottery/lightUpWl.html

@@ -452,9 +452,9 @@
       handleLottery (bizId) {
         let url = ''
         if (!this.env || this.env === 'prod') {
-          url = `https://lottery.camlook.cn/?bId=${bizId}&h5Type=30`
+          url = `https://lottery2.camlook.cn/?bId=${bizId}&h5Type=30`
         } else {
-          url = `https://lottery.camlook.cn/?bId=${bizId}&env=dev&h5Type=30`
+          url = `https://lottery2.camlook.cn/?bId=${bizId}&env=dev&h5Type=30`
         }
         window.location.replace(url)
       },