.
This commit is contained in:
1 parent
0088fe3509
commit
67a3bcdaee
4 files changed
+10
-7
No files matched your search
@@ -16,15 +16,16 @@ VITE_OAUTH2_APP_CLIENT='mini:mini'
|
||||
|
||||
VITE_OAUTH2_ZZDSHAPP_CLIENT='zzdsh:zzdsh'
|
||||
|
||||
# VITE_APP_DEV_SERVICE =http://123.156.230.15:8089/api
|
||||
VITE_APP_DEV_SERVICE = http://127.0.0.1:9999
|
||||
#VITE_APP_DEV_SERVICE =http://123.156.230.15:8089/api
|
||||
# VITE_APP_DEV_SERVICE =http://123.156.230.15:8089/app-api
|
||||
# VITE_APP_DEV_SERVICE =http://123.156.228.134:48080/app-api
|
||||
# VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/app-api
|
||||
VITE_APP_DEV_SERVICE = http://192.168.101.24:48080/app-api
|
||||
#VITE_APP_DEV_SERVICE = http://192.168.101.24:48080/app-api
|
||||
# ******************** end 开发环境 end ********************
|
||||
|
||||
|
||||
# ******************** start 生产环境 start ********************
|
||||
#VITE_APP_PROD_SERVICE = http://123.156.228.134:48080/app-api
|
||||
VITE_APP_PROD_SERVICE = https://stgl.pj.gov.cn/app-api
|
||||
# ******************** end 生产环境 end ********************
|
||||
#VITE_APP_PROD_SERVICE = https://stgl.pj.gov.cn/app-api
|
||||
# ******************** end 生产环境 end ********************
|
||||
+2
-1
@@ -64,6 +64,7 @@
|
||||
"dayjs": "^1.11.13",
|
||||
"luch-request": "^3.1.1",
|
||||
"pinia": "^2.2.6",
|
||||
"qs": "^6.13.1",
|
||||
"radash": "^12.1.0",
|
||||
"vue": "^3.3.11",
|
||||
"vue-i18n": "^9.1.9",
|
||||
@@ -86,4 +87,4 @@
|
||||
"vite": "5.2.8",
|
||||
"vue-tsc": "^1.0.24"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48,6 +48,7 @@ export default {
|
||||
params.grant_type = "password";
|
||||
params.scope = "server";
|
||||
params.code = "";
|
||||
|
||||
request({
|
||||
url: `/auth/oauth2/token`,
|
||||
method: "POST",
|
||||
|
||||
+2
-2
@@ -32,10 +32,10 @@ export default defineConfig(({ mode }) => {
|
||||
},
|
||||
},
|
||||
server: {
|
||||
port: 8001,
|
||||
port: 8088,
|
||||
hmr: true, // 启用热更新
|
||||
proxy: {
|
||||
"/api": {
|
||||
'/api': {
|
||||
target: baseUrl, // 目标服务器地址
|
||||
changeOrigin: true, // 是否修改请求头中的 Origin 字段
|
||||
rewrite: (path) => path.replace(/^\/api/, ""),
|
||||
|
||||
Reference in new issue
Block a user