mirror of
https://gitee.com/EMF/solon-manager.git
synced 2025-12-07 01:08:28 +08:00
readme: 上传图片
This commit is contained in:
parent
fcf3795bb2
commit
3cc8852e2d
70
README.md
70
README.md
@ -27,59 +27,20 @@ Gitee地址:[https://gitee.com/uidoer/solon-manager](https://gitee.com/uidoer/
|
|||||||
- 开发文档:[开发文档wiki](https://gitee.com/uidoer/solon-manager/wikis/pages)
|
- 开发文档:[开发文档wiki](https://gitee.com/uidoer/solon-manager/wikis/pages)
|
||||||
- 演示地址:[solon-manager](http://1.94.23.145:9000/login)
|
- 演示地址:[solon-manager](http://1.94.23.145:9000/login)
|
||||||
- **账号密码:admin/123456**
|
- **账号密码:admin/123456**
|
||||||
|
|
||||||
|
|
||||||
## 代码结构
|
## 代码结构
|
||||||
```
|
```html
|
||||||
├─main
|
doc ==> 文档 / sql
|
||||||
│ ├─java
|
plugins ==> 插件
|
||||||
│ │ └─vip
|
solon-system ==> 主应用 rbac系统
|
||||||
│ │ └─fuck
|
|
||||||
│ │ └─sm
|
|
||||||
│ │ ├─CompanyProjectApplication.java 项目启动类
|
|
||||||
│ │ ├─common 公共资源,如注解、切面、全局异常处理、组件集成、通用工具类等
|
|
||||||
│ │ ├─controller Controler层
|
|
||||||
│ │ ├─entity 实体类
|
|
||||||
│ │ ├─mapper DAO层
|
|
||||||
│ │ ├─service Service层
|
|
||||||
│ │ │ └─impl Service层实现
|
|
||||||
│ └─resources
|
|
||||||
│ ├── app-dev.yml 开发环境配置文件
|
|
||||||
│ ├── app-test.yml 测试环境配置文件
|
|
||||||
│ ├── app-prod.yml 生产环境配置文件
|
|
||||||
│ ├── app.yml 通用配置文件
|
|
||||||
│ ├─mapper Mybatis XML文件
|
|
||||||
│ ├─static 静态文件
|
|
||||||
│ │ ├─css 通用css文件
|
|
||||||
│ │ ├─images 静态图片
|
|
||||||
│ │ ├─js 通用js文件
|
|
||||||
│ │ ├─layui layui库
|
|
||||||
│ │ └─layui-ext layui插件库
|
|
||||||
│ ├─template 代码生成模版
|
|
||||||
│ └─templates 项目页面目录
|
|
||||||
│ ├─depts 部门管理
|
|
||||||
│ ├─error 错误页面
|
|
||||||
│ ├─generator 代码生成管理
|
|
||||||
│ ├─logs 日志管理
|
|
||||||
│ ├─menus 菜单管理
|
|
||||||
│ ├─roles 角色管理
|
|
||||||
│ ├─syscontent 内容管理
|
|
||||||
│ ├─sysdict 字典管理
|
|
||||||
│ ├─sysfiles 文件管理
|
|
||||||
│ └─users 用户管理
|
|
||||||
└─test
|
|
||||||
└─java
|
|
||||||
└─vip
|
|
||||||
└─fuck
|
|
||||||
└─sm 单元测试
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 开发建议
|
|
||||||
|
## solon-system开发建议
|
||||||
- Model内成员变量建议与表字段数量对应,如需扩展成员变量(比如连表查询)建议创建VO,否则需在扩展的成员变量上加@TableField(exist = false)
|
- Model内成员变量建议与表字段数量对应,如需扩展成员变量(比如连表查询)建议创建VO,否则需在扩展的成员变量上加@TableField(exist = false)
|
||||||
- 建议业务失败直接使用throw new BusinessException("ErrorMessage")抛出,由统一异常处理器来封装业务失败的响应结果,会直接被封装为{"code":500002,"message":"ErrorMessage"}返回,尽情抛出;
|
- 建议业务失败直接使用throw new BusinessException("ErrorMessage")抛出,由统一异常处理器来封装业务失败的响应结果,会直接被封装为{"code":500002,"message":"ErrorMessage"}返回,尽情抛出;
|
||||||
- 数据库基础字段:id(bigint)、remark(varchar)、unable_flag(tinyint)、deleted(tinyint)、create_id(bigint)、update_id(bigint)、create_time(datetime)、update_time(datetime)
|
- 数据库基础字段:id(bigint)、remark(varchar)、unable_flag(tinyint)、deleted(tinyint)、create_id(bigint)、update_id(bigint)、create_time(datetime)、update_time(datetime)
|
||||||
|
|
||||||
## 使用说明
|
## solon-system 使用说明
|
||||||
- 使用IDE导入本项目,IDE需要安装lombok插件
|
- 使用IDE导入本项目,IDE需要安装lombok插件
|
||||||
- 创建数据库, 如mysql数据库导入mysql.sql
|
- 创建数据库, 如mysql数据库导入mysql.sql
|
||||||
- 配置application-dev.yml中的数据库连接
|
- 配置application-dev.yml中的数据库连接
|
||||||
@ -95,7 +56,7 @@ Gitee地址:[https://gitee.com/uidoer/solon-manager](https://gitee.com/uidoer/
|
|||||||
5. 数据库执行sql,生成菜单
|
5. 数据库执行sql,生成菜单
|
||||||
6. admin 刷新页面即刻查看
|
6. admin 刷新页面即刻查看
|
||||||
|
|
||||||
## 技术文档
|
## solon-system 技术文档
|
||||||
* 核心框架:[Solon](https://spring.io/projects/spring-boot)
|
* 核心框架:[Solon](https://spring.io/projects/spring-boot)
|
||||||
* 持久层框架:[MyBatis-Plus](https://mybatis.plus)
|
* 持久层框架:[MyBatis-Plus](https://mybatis.plus)
|
||||||
* 权限认证:[Sa-Token](https://sa-token.cc/doc.html#/)
|
* 权限认证:[Sa-Token](https://sa-token.cc/doc.html#/)
|
||||||
@ -112,6 +73,21 @@ Gitee地址:[https://gitee.com/uidoer/solon-manager](https://gitee.com/uidoer/
|
|||||||
|
|
||||||
## **效果图**
|
## **效果图**
|
||||||
|
|
||||||
|
**cms插件后台:**
|
||||||
|
|
||||||
|
|  |  |
|
||||||
|
| --- | --- |
|
||||||
|
|  |  |
|
||||||
|
| --- | --- |
|
||||||
|
|  |  |
|
||||||
|
|
||||||
|
**cms模板:**
|
||||||
|
|
||||||
|
|  |  |
|
||||||
|
| --- | --- |
|
||||||
|
|  |  |
|
||||||
|
|  |  |
|
||||||
|
|
||||||
|
|
||||||
### 捐赠
|
### 捐赠
|
||||||
> 项目的发展离不开您的支持, 如果您够宽裕,请作者喝杯咖啡吧!
|
> 项目的发展离不开您的支持, 如果您够宽裕,请作者喝杯咖啡吧!
|
||||||
|
|||||||
BIN
doc/cms/images/165659_33896919_623319.webp
Normal file
BIN
doc/cms/images/165659_33896919_623319.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
BIN
doc/cms/images/165723_cdd71374_623319.webp
Normal file
BIN
doc/cms/images/165723_cdd71374_623319.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
BIN
doc/cms/images/165741_e49a197b_623319.webp
Normal file
BIN
doc/cms/images/165741_e49a197b_623319.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
BIN
doc/cms/images/165820_e2bac5e3_623319.webp
Normal file
BIN
doc/cms/images/165820_e2bac5e3_623319.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
BIN
doc/cms/images/165833_63bab0ea_623319.webp
Normal file
BIN
doc/cms/images/165833_63bab0ea_623319.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 51 KiB |
BIN
doc/cms/images/192142_2da79cc9_623319.webp
Normal file
BIN
doc/cms/images/192142_2da79cc9_623319.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
1063
doc/cms/sql/jfinal_project_center.sql
Normal file
1063
doc/cms/sql/jfinal_project_center.sql
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user