22285461@qq.com 3 月之前
父节点
当前提交
27c30a3108
共有 4 个文件被更改,包括 7 次插入4 次删除
  1. 0 0
      dist/assets/index-Dw3TePmX.js
  2. 1 1
      dist/index.html
  3. 2 1
      src/components/customer/Login.vue
  4. 4 2
      src/customer/APICenter.ts

文件差异内容过多而无法显示
+ 0 - 0
dist/assets/index-Dw3TePmX.js


+ 1 - 1
dist/index.html

@@ -5,7 +5,7 @@
     <link rel="icon" type="image/svg+xml" href="/vite.svg"/>
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
     <title>桢禧文化</title>
-  <script type="module" crossorigin src="/assets/index-3BUoRi-i.js"></script>
+  <script type="module" crossorigin src="/assets/index-Dw3TePmX.js"></script>
   <link rel="stylesheet" crossorigin href="/assets/index-TJPQTzOJ.css">
 </head>
 <body>

+ 2 - 1
src/components/customer/Login.vue

@@ -49,7 +49,8 @@ function login() {
         <el-button style="width: 100%;" @click="login" type="primary">登录</el-button>
       </div>
       <div style="width: 50%; margin-top: 10px" align="left">
-        <el-text tag="b" type="success" v-if="APICenter.debugMode">测试模式</el-text>
+        <el-text tag="b" type="danger" v-if="APICenter.debugMode">测试模式</el-text>
+        <el-text tag="b" type="success" v-if="!APICenter.debugMode">线上模式</el-text>
       </div>
       <div style="width: 50%; margin-top: 10px" align="left">
         <el-text tag="b" type="danger">{{ errorMsg }}</el-text>

+ 4 - 2
src/customer/APICenter.ts

@@ -22,7 +22,7 @@ export namespace APICenter {
 
     let sendingTime: Map<string, number> = new Map()
 
-    export let debugMode = true
+    export let debugMode = false
 
     function getDeviceFingerprint() {
         var fingerprint = {
@@ -283,7 +283,9 @@ export namespace APICenter {
 
     function getServerUrl() {
         if (!debugMode) {
-            return "https://yixuefrp.cxhy.cn/wx/"
+            return "https://yixuedjango.cxhy.cn/wx/"
+            //https://yixuedjango.cxhy.cn/
+            //https://yixuefrp.cxhy.cn/wx/
         } else {
             return "http://127.0.0.1:13008/wx/"
         }

部分文件因为文件数量过多而无法显示