版本信息
环境
X-SpringBoot
├─doc
│ ├─db.sql 项目SQL语句
│ ├─nginx.confi nginx 配置文件
│ ├─updateLog 更新日志
│
├─authentication 权限认证
├─common 公共模块
│ ├─annotation 自定义注解
│ ├─aspect 系统日志
│ ├─base base包
│ ├─exception 异常处理
│ ├─utils 一些工具类
│ ├─validator 后台校验
│ └─xss XSS过滤
│
├─config 配置信息
├─interceptor token拦截器
│
├─modules 功能模块
│ ├─app API接口模块(APP调用)
│ ├─oss 文件服务模块
│ ├─sys 权限模块
│ ├─apkversion APK 版本管理
│ └─gen 代码生成
│
├─Application 项目启动类
├─Swagger2 swagger2类
│
├──resources
│ ├─mapper SQL对应的XML文件
1、 $git clone https://github.com/yzcheng90/X-SpringBoot.git
2 、IDEA 打开项目引入依赖
3、 创建数据库x_springboot,数据库编码为UTF-8,执行doc/db.sql文件,初始化数据
4、 IDEA运行Application.java,则可启动项目 http://localhost:8080
1、 打开nginx 目录 /conf/nginx.conf
2、 在server中修改 root 和 index
...
server {
....
#静态页面目录
root E:\github\X-SpringBoot\x-springboot-ui;
#默认首页
index login.html;
....
location ^~// {
proxy_pass http://127.0.0.1:8080; #这里为后台服务地址
}
}
...
( 这里建议直接复制项目中的doc/nginx.conf替换你的nginx配置文件,然后修改静态页面目录 )
3、启动nginx 访问 localhost
系统截图
X-SpringBoot项目源码已经全部上传完毕,如果您有需要的话, 可以关注转发文章之后私信我【源码】来免费获取到项目源码
图1
图2
图3
图5
「链接」
*请认真填写需求信息,我们会在24小时内与您取得联系。