Browse Source

接口超时时间改成30s

shaogen1995 3 tuần trước cách đây
mục cha
commit
64da3fee80

+ 3 - 0
后台管理/.env

@@ -0,0 +1,3 @@
+# .env.production
+GENERATE_SOURCEMAP = false
+# 关闭映射

+ 3 - 0
展示端/.env

@@ -0,0 +1,3 @@
+# .env.production
+GENERATE_SOURCEMAP = false
+# 关闭映射

+ 2 - 2
展示端/public/index.html

@@ -15,9 +15,9 @@
 
     <script>
       // 测试环境域名
-      const weiXinLoginBackUrlTemp = 'https://sit-hqbooking.4dage.com'
+      // const weiXinLoginBackUrlTemp = 'https://sit-hqbooking.4dage.com'
       // 甲方域名
-      // const weiXinLoginBackUrlTemp =''
+      const weiXinLoginBackUrlTemp = 'https://healthy.hengqin.gov.cn'
     </script>
 
     <!--

+ 1 - 1
展示端/src/utils/http.ts

@@ -26,7 +26,7 @@ declare module 'axios' {
 // 创建 axios 实例
 const http = axios.create({
   baseURL: `${baseURL}${baseFlag ? '/api/' : ''}`,
-  timeout: 10000
+  timeout: 30000
 })
 
 let axajInd = 0

+ 3 - 0
展示端首页入口/.env

@@ -0,0 +1,3 @@
+# .env.production
+GENERATE_SOURCEMAP = false
+# 关闭映射

+ 3 - 0
平板二维码扫码/.env

@@ -0,0 +1,3 @@
+# .env.production
+GENERATE_SOURCEMAP = false
+# 关闭映射