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}`
+          }
         })
       },
       // 勾选客户变更