# 若依脚手架 **Repository Path**: mxchen-team/RuoYi-Vue ## Basic Information - **Project Name**: 若依脚手架 - **Description**: 若依分离版本,若依前端AntDv版本 若依后端MybatisPlus版本(暂未实现)若依框架扩展版本(集成自定义代码生成,工作流程。。等有趣的功能,暂未实现) - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: ruoyi_antdv - **Homepage**: http://ruoyi.vip - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 31026 - **Created**: 2021-08-03 - **Last Updated**: 2022-06-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 平台简介 若依是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。 * 前端采用Vue、Element UI。 * 后端采用Spring Boot、Spring Security、Redis & Jwt。 * 权限认证使用Jwt,支持多终端认证系统。 * 支持加载动态权限菜单,多方式轻松权限控制。 * 高效率开发,使用代码生成器可以一键生成前后端代码。 * 提供了单应用版本[RuoYi-Vue-fast](https://github.com/yangzongzhuan/RuoYi-Vue-fast),Oracle版本[RuoYi-Vue-Oracle](https://github.com/yangzongzhuan/RuoYi-Vue-Oracle),保持同步更新。 * 不分离版本,请移步[RuoYi](https://gitee.com/y_project/RuoYi),微服务版本,请移步[RuoYi-Cloud](https://gitee.com/y_project/RuoYi-Cloud) * 特别鸣谢:[element](https://github.com/ElemeFE/element),[vue-element-admin](https://github.com/PanJiaChen/vue-element-admin),[eladmin-web](https://github.com/elunez/eladmin-web)。 * 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)   * 阿里云优惠券:[点我领取](https://www.aliyun.com/minisite/goods?userCode=brki8iof&share_source=copy_link),腾讯云优惠券:[点我领取](https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console)   ## 内置功能 1. 用户管理:用户是系统操作者,该功能主要完成系统用户配置。 2. 部门管理:配置系统组织机构(公司、部门、小组),树结构展现支持数据权限。 3. 岗位管理:配置系统用户所属担任职务。 4. 菜单管理:配置系统菜单,操作权限,按钮权限标识等。 5. 角色管理:角色菜单权限分配、设置角色按机构进行数据范围权限划分。 6. 字典管理:对系统中经常使用的一些较为固定的数据进行维护。 7. 参数管理:对系统动态配置常用参数。 8. 通知公告:系统通知公告信息发布维护。 9. 操作日志:系统正常操作日志记录和查询;系统异常信息日志记录和查询。 10. 登录日志:系统登录日志记录查询包含登录异常。 11. 在线用户:当前系统中活跃用户状态监控。 12. 定时任务:在线(添加、修改、删除)任务调度包含执行结果日志。 13. 代码生成:前后端代码的生成(java、html、xml、sql)支持CRUD下载 。 14. 系统接口:根据业务代码自动生成相关的api接口文档。 15. 服务监控:监视当前系统CPU、内存、磁盘、堆栈等相关信息。 16. 缓存监控:对系统的缓存信息查询,命令统计等。 17. 在线构建器:拖动表单元素生成相应的HTML代码。 18. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。 ## 若依框架目录修改器 https://gitee.com/lpf_project/common-tools/releases/V3-20210930 ## 启动: ### 后端启动: ``` 环境准备, 当前环境 jdk1.8 maven 3.5.0 node v14.17.5 npm v6.14.14 (版本以运行成功为准) ``` 修改数据库地址(更改为自己的) ![image-20211109000827726](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211109000827726.png) maven cliean install ![image-20211109000927635](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211109000927635.png) 启动 ![image-20211109001026636](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211109001026636.png) 启动成功标志: ![image-20211109001103228](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211109001103228.png) 前端启动 终端切换到ruoyi-ui-antdv目录下 npm install 修改地址 ![image-20211109001337020](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211109001337020.png) npm run serve:dev ![image-20211109001436609](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211109001436609.png) 接口访问正常代表启动成功 ## 部署: 1.后端打jar包部署到linux,宝塔创建网站,设置域名,开启ssl, 配置nginx ![image-20211029101610163](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211029101610163.png) swagger2.9.2 + bootstrap-ui的nginx配置 (亲测有效) ``` location /api/{ proxy_pass http://localhost:9001/; } location ~* ^(/v2|/webjars|/swagger-resources|/doc.html){ proxy_buffer_size 128k; proxy_buffers 32 128k; proxy_busy_buffers_size 128k; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; #proxy_set_header Host $host:$server_port; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Port $server_port; proxy_pass http://localhost:9001; } ``` ## 若依-Ant-vue-UI 版本演示图 ### 登录主页 ![image-20211108234113262](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108234113262.png) ### 面板 img ## 系统管理-用户管理 ![image-20211108234640633](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108234640633.png) ## 系统管理-角色管理 ![image-20211108235222488](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235222488.png) ## 系统管理-菜单管理 ![image-20211108235240856](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235240856.png) ## 系统管理-部门管理 ![image-20211108235258596](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235258596.png) ## 系统管理-岗位管理 ![image-20211108235316729](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235316729.png) ## 系统管理-字典管理 ![image-20211108235332165](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235332165.png) ## 系统管理-参数设置 ![image-20211108235347786](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235347786.png) ## 系统管理-通知公告 ![image-20211108235402943](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235402943.png) ## 系统管理-日志管理 ![image-20211108235423386](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235423386.png) ![image-20211108235451843](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235451843.png) ## 系统监控-在线用户 ![image-20211108235638257](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235638257.png) ## 系统监控-定时任务 ![image-20211108235649206](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235649206.png) ## 系统工具-代码生成 ![image-20211108235748970](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235748970.png) ## 系统工具-接口文档 ![image-20211108235833431](https://gitee.com/mxchen-team/figure-bed/raw/master/images/image-20211108235833431.png) ## 若依前后端分离交流群 QQ群: [![加入QQ群](https://img.shields.io/badge/已满-937441-blue.svg)](https://jq.qq.com/?_wv=1027&k=5bVB1og) [![加入QQ群](https://img.shields.io/badge/已满-887144332-blue.svg)](https://jq.qq.com/?_wv=1027&k=5eiA4DH) [![加入QQ群](https://img.shields.io/badge/已满-180251782-blue.svg)](https://jq.qq.com/?_wv=1027&k=5AxMKlC) [![加入QQ群](https://img.shields.io/badge/已满-104180207-blue.svg)](https://jq.qq.com/?_wv=1027&k=51G72yr) [![加入QQ群](https://img.shields.io/badge/已满-186866453-blue.svg)](https://jq.qq.com/?_wv=1027&k=VvjN2nvu) [![加入QQ群](https://img.shields.io/badge/已满-201396349-blue.svg)](https://jq.qq.com/?_wv=1027&k=5vYAqA05) [![加入QQ群](https://img.shields.io/badge/101456076-blue.svg)](https://jq.qq.com/?_wv=1027&k=kOIINEb5) 点击按钮入群。