duanshenglang 2 周之前
父節點
當前提交
292cdfae3b
共有 1 個文件被更改,包括 5 次插入1 次删除
  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}`
+          }
         })
       },
       // 勾选客户变更