1.修改前端端口配置\n2.修改初始化数据库时的用户名和密码

This commit is contained in:
haotian 2025-07-25 11:07:20 +08:00
parent 0593eb3d45
commit 9e7a323798
3 changed files with 4 additions and 4 deletions

View File

@ -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",

View File

@ -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

View File

@ -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) {