Browse Source

更新依赖

ZaiZai 9 months ago
parent
commit
dbd68d0a02
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/api/request/index.js
  2. 2 2
      src/config/index.json

+ 1 - 1
src/api/request/index.js

@@ -8,7 +8,7 @@ import website from '~src/config'
 const store = useAppStore(pinia)
 
 //封装的请求
-export const HcApi = async (obj, msg) => {
+export const HcApi = async (obj, msg = true) => {
     return new Promise((resolve) => {
         //处理统一的请求头
         obj.headers = obj.headers ?? {}

+ 2 - 2
src/config/index.json

@@ -1,7 +1,7 @@
 {
     "version": "20230607160059",
-    "target": "http://192.168.0.102:8090",
-    "target1": "http://39.108.216.210:8090",
+    "target1": "http://192.168.0.102:8090",
+    "target": "http://39.108.216.210:8090",
     "smsPhone": "",
     "vite": {
         "port": 5174,