refactor: 前端目录重命名及配置优化

- frontend/ruoyi-ui 重命名为 frontend/pangu-ui
- 修改系统标题为"盘古用户认证中心"
- 开启验证码功能
- 移除登录页默认账号密码
This commit is contained in:
神码-方晓辉 2026-02-03 20:37:48 +08:00
parent 0c607378e9
commit 086c0a0988
329 changed files with 33 additions and 22 deletions

View File

@ -51,7 +51,7 @@ public class SchoolService { }
## 技术栈
### 前端(ruoyi-ui
### 前端(pangu-ui
- Vue 3.5.x + Element Plus 2.13.x + Vite 6.x
- 基于 RuoYi-Vue3 框架

View File

@ -25,7 +25,7 @@ pangu-user-platform/ # 项目根目录
│ ├── sql/ # 数据库脚本
│ └── scripts/ # 运维脚本
├── frontend/ # 前端代码
│ └── ruoyi-ui/ # Vue3 + Element Plus + Vite
│ └── pangu-ui/ # Vue3 + Element Plus + Vite
│ ├── package.json # 前端依赖配置
│ └── README.md # 前端使用说明
└── docs/ # 项目文档
@ -81,7 +81,7 @@ mvn spring-boot:run
```bash
# 进入前端目录
cd frontend/ruoyi-ui
cd frontend/pangu-ui
# 安装依赖
npm install
@ -237,7 +237,7 @@ java -jar target/pangu-admin.jar
### 前端部署
```bash
cd frontend/ruoyi-ui
cd frontend/pangu-ui
npm run build
# 将 dist/ 目录部署到 Nginx
```

View File

@ -22,7 +22,7 @@ server:
captcha:
# 是否启用验证码校验
enable: false
enable: true
# 验证码类型 math 数组计算 char 字符验证
type: math
# 数字验证码位数

View File

@ -9,7 +9,7 @@
### 1. 首页若依介绍
**文件**: `frontend/ruoyi-ui/src/views/index.vue`
**文件**: `frontend/pangu-ui/src/views/index.vue`
**清理内容**:
- ❌ 删除: 若依后台管理框架介绍
@ -27,7 +27,7 @@
### 2. 导航栏若依链接
**文件**: `frontend/ruoyi-ui/src/layout/components/Navbar.vue`
**文件**: `frontend/pangu-ui/src/layout/components/Navbar.vue`
**清理内容**:
- ❌ 删除组件引用: `RuoYiGit` (源码地址)
@ -43,7 +43,7 @@
### 3. 若依介绍组件
**删除目录**: `frontend/ruoyi-ui/src/components/RuoYi/`
**删除目录**: `frontend/pangu-ui/src/components/RuoYi/`
**删除文件**:
- ❌ `RuoYi/Git/index.vue` - 源码地址组件 (指向 https://gitee.com/y_project/RuoYi-Vue)
@ -53,7 +53,7 @@
### 4. 版权信息
**文件**: `frontend/ruoyi-ui/src/settings.js`
**文件**: `frontend/pangu-ui/src/settings.js`
**修改内容**:
```javascript
@ -68,7 +68,7 @@ footerContent: 'Copyright © 2026 湖北新华业务中台研发团队. All Righ
### 5. README 文档
**文件**: `frontend/ruoyi-ui/README.md`
**文件**: `frontend/pangu-ui/README.md`
**清理内容**:
- ❌ 删除: 若依项目介绍
@ -126,7 +126,7 @@ footerContent: 'Copyright © 2026 湖北新华业务中台研发团队. All Righ
**保留原因**: 注释内容不影响用户体验,仅供开发参考。
### 3. 目录名称
- `frontend/ruoyi-ui/` - 前端项目目录名
- `frontend/pangu-ui/` - 前端项目目录名
**保留原因**: 修改目录名需要大量配置调整,风险较高。

View File

@ -0,0 +1,8 @@
{
"hash": "5ac24ef1",
"configHash": "4e2c7236",
"lockfileHash": "e3b0c442",
"browserHash": "5326ff58",
"optimized": {},
"chunks": {}
}

View File

@ -0,0 +1,3 @@
{
"type": "module"
}

View File

@ -1,5 +1,5 @@
# 页面标题
VITE_APP_TITLE = 盘古用户平台
VITE_APP_TITLE = 盘古用户认证中心
# 开发环境配置
VITE_APP_ENV = 'development'

View File

@ -1,5 +1,5 @@
# 页面标题
VITE_APP_TITLE = 若依管理系统
VITE_APP_TITLE = 盘古用户认证中心
# 生产环境配置
VITE_APP_ENV = 'production'

View File

@ -1,5 +1,5 @@
# 页面标题
VITE_APP_TITLE = 若依管理系统
VITE_APP_TITLE = 盘古用户认证中心
# 生产环境配置
VITE_APP_ENV = 'staging'

View File

@ -1,4 +1,4 @@
# 盘古用户平台 - 前端项目
# 盘古用户认证中心 - 前端项目
> 统一用户管理系统前端
>
@ -51,7 +51,7 @@ npm run build:prod
## 📁 项目结构
```
ruoyi-ui/
pangu-ui/
├── public/ # 静态资源
├── src/
│ ├── api/ # API 接口
@ -83,13 +83,13 @@ ruoyi-ui/
**开发环境** (`.env.development`):
```bash
VITE_APP_TITLE = '盘古用户平台'
VITE_APP_TITLE = '盘古用户认证中心'
VITE_APP_BASE_API = '/dev-api'
```
**生产环境** (`.env.production`):
```bash
VITE_APP_TITLE = '盘古用户平台'
VITE_APP_TITLE = '盘古用户认证中心'
VITE_APP_BASE_API = '/prod-api'
```

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 160 KiB

View File

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 954 B

After

Width:  |  Height:  |  Size: 954 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 179 B

After

Width:  |  Height:  |  Size: 179 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 971 B

After

Width:  |  Height:  |  Size: 971 B

View File

Before

Width:  |  Height:  |  Size: 717 B

After

Width:  |  Height:  |  Size: 717 B

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 418 B

After

Width:  |  Height:  |  Size: 418 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 356 B

After

Width:  |  Height:  |  Size: 356 B

View File

Before

Width:  |  Height:  |  Size: 724 B

After

Width:  |  Height:  |  Size: 724 B

View File

Before

Width:  |  Height:  |  Size: 818 B

After

Width:  |  Height:  |  Size: 818 B

View File

Before

Width:  |  Height:  |  Size: 627 B

After

Width:  |  Height:  |  Size: 627 B

View File

Before

Width:  |  Height:  |  Size: 347 B

After

Width:  |  Height:  |  Size: 347 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 497 B

After

Width:  |  Height:  |  Size: 497 B

View File

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 459 B

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 944 B

After

Width:  |  Height:  |  Size: 944 B

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 421 B

After

Width:  |  Height:  |  Size: 421 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 320 B

After

Width:  |  Height:  |  Size: 320 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 744 B

After

Width:  |  Height:  |  Size: 744 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 285 B

After

Width:  |  Height:  |  Size: 285 B

View File

Before

Width:  |  Height:  |  Size: 1017 B

After

Width:  |  Height:  |  Size: 1017 B

View File

Before

Width:  |  Height:  |  Size: 444 B

After

Width:  |  Height:  |  Size: 444 B

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 669 B

After

Width:  |  Height:  |  Size: 669 B

View File

Before

Width:  |  Height:  |  Size: 335 B

After

Width:  |  Height:  |  Size: 335 B

View File

Before

Width:  |  Height:  |  Size: 883 B

After

Width:  |  Height:  |  Size: 883 B

View File

Before

Width:  |  Height:  |  Size: 619 B

After

Width:  |  Height:  |  Size: 619 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 821 B

After

Width:  |  Height:  |  Size: 821 B

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Some files were not shown because too many files have changed in this diff Show More