1.修改前端端口配置\n2.修改初始化数据库时的用户名和密码
This commit is contained in:
parent
0593eb3d45
commit
9e7a323798
@ -89,7 +89,7 @@ class DatabaseUtils(object):
|
||||
initUserData = {"userId": userId,
|
||||
"username": "15666666667",
|
||||
"nickName": "admin997273@#",
|
||||
"password": HashCipher.md5(config.ENCRYPT_STRING + "superAdmin"),
|
||||
"password": HashCipher.md5(config.ENCRYPT_STRING + "admin997273@#"),
|
||||
"phone": "15666666667",
|
||||
"email": "1111111111@qq.com",
|
||||
"status": "0",
|
||||
|
||||
@ -5,7 +5,7 @@ VITE_APP_TITLE = '若依管理系统'
|
||||
VITE_APP_ENV = 'production'
|
||||
|
||||
# 若依管理系统/生产环境
|
||||
VITE_APP_BASE_API = 'http://124.71.212.219:8090/api'
|
||||
VITE_APP_BASE_API = 'http://10.0.0.202:8023/api'
|
||||
|
||||
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
||||
VITE_BUILD_COMPRESS = gzip
|
||||
@ -25,13 +25,13 @@ export default defineConfig(({ mode, command }) => {
|
||||
},
|
||||
// vite 相关配置
|
||||
server: {
|
||||
port: 80,
|
||||
port: 8024,
|
||||
host: true,
|
||||
open: true,
|
||||
proxy: {
|
||||
'/dev-api': {
|
||||
// target: 'https://vue.ruoyi.vip/prod-api/',
|
||||
target: 'http://124.71.212.219:8090/api',
|
||||
target: 'http://10.0.0.202:8023/api',
|
||||
changeOrigin: true,
|
||||
rewrite: (p) => p.replace(/^\/dev-api/, ''),
|
||||
bypass(req, res, options) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user