duanshenglang 2 weeks ago
parent
commit
292cdfae3b
1 changed files with 5 additions and 1 deletions
  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}`
+          }
         })
       },
       // 勾选客户变更