Browse Source

feat: 变更日报请求地址

sunxiao 3 weeks ago
parent
commit
1d7e73658e
2 changed files with 3 additions and 3 deletions
  1. 2 2
      .env.production
  2. 1 1
      src/views/daily/index.vue

+ 2 - 2
.env.production

@@ -5,10 +5,10 @@ VITE_APP_TITLE = LibraAI智能体运营平台
 VITE_APP_ENV = 'production'
 
 # 管理系统/生产环境
-VITE_APP_BASE_API = ''
+VITE_APP_BASE_API = '/apiServe/'
 
 # 是否在打包时开启压缩,支持 gzip 和 brotli
 VITE_BUILD_COMPRESS = gzip
 
-VITE_APP_BASE_TEST = http://10.0.0.28:8080/
+VITE_APP_BASE_TEST = http://192.168.40.18:8080/
 VITE_APP_BASE_PROD = http://192.168.9.54:8080/

+ 1 - 1
src/views/daily/index.vue

@@ -47,7 +47,7 @@ const onSubmit = async () => {
       proxy.$modal.confirm('是否确认提交?').then(async () => {
 
         const dateTime = holidays.value.find(({ testDate: day }) => day === unref(testDate));
-
+        
         await postDaily({
           id: dateTime?.id,
           testDate: unref(testDate),