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, initUserData = {"userId": userId,
"username": "15666666667", "username": "15666666667",
"nickName": "admin997273@#", "nickName": "admin997273@#",
"password": HashCipher.md5(config.ENCRYPT_STRING + "superAdmin"), "password": HashCipher.md5(config.ENCRYPT_STRING + "admin997273@#"),
"phone": "15666666667", "phone": "15666666667",
"email": "1111111111@qq.com", "email": "1111111111@qq.com",
"status": "0", "status": "0",

View File

@ -5,7 +5,7 @@ VITE_APP_TITLE = '若依管理系统'
VITE_APP_ENV = 'production' 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 # 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip VITE_BUILD_COMPRESS = gzip

View File

@ -25,13 +25,13 @@ export default defineConfig(({ mode, command }) => {
}, },
// vite 相关配置 // vite 相关配置
server: { server: {
port: 80, port: 8024,
host: true, host: true,
open: true, open: true,
proxy: { proxy: {
'/dev-api': { '/dev-api': {
// target: 'https://vue.ruoyi.vip/prod-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, changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, ''), rewrite: (p) => p.replace(/^\/dev-api/, ''),
bypass(req, res, options) { bypass(req, res, options) {