duanshenglang hai 2 semanas
pai
achega
292cdfae3b
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      lottery/WeCom.html

+ 5 - 1
lottery/WeCom.html

@@ -1385,7 +1385,11 @@
             vant.Toast.fail(msg)
           }
         }).finally(() => {
-          window.location.href = `https://test.wefanbot.com:18211/?token=${this.aiCallToken}`
+          if (!this.env || this.env === 'prod') {
+            window.location.href = `https://call.wefanbot.com/?token=${this.aiCallToken}`
+          } else {
+            window.location.href = `https://test.wefanbot.com:18211/?token=${this.aiCallToken}`
+          }
         })
       },
       // 勾选客户变更