首页

先看文档,不懂在群里@我。本群进入后如果退出会有黑名单,永不在服务。浪费我时间,切用切珍惜!

脚手架需要java基础,maven基础,springboot基础

请使用前先看 文档库:再看 组织架构,方便自己理解,很浅显了,不是很难,小白专用了。

自动生成代码有个bug列表

1、主键必须字符串

2、不根据规则来生成的一律出错不管

3、最好用mybatis-generator.xml 来生成model、dao【半自动】

4、在用自动生成 controller.java\service.java\html模板\sql【全自动】

欢迎fork后提交Pull Requests 审核通过进入开发小组进入v2的荣誉殿堂。

生成顺序先全自动,在半自动。永远不会错

分支介绍:

master: 开发者在一直更新维护

dmd: 有标签页面【就点击后右边有table标签】 暂停维护

不局部刷新: 老版本点击一些列表就会刷新整个页面 暂停更新

文档库:https://gitee.com/bdj/Gyee_Frame_NX/wikis/

更新日志: https://gitee.com/bdj/Gyee_Frame_NX/wikis/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97?sort_id=1452970

更新日志: https://gitee.com/bdj/Gyee_Frame_NX/wikis/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97?sort_id=1452970

前言

Gyee_Frame_NX项目是努力打造springboot框架的极致细腻的脚手架。包括一套漂亮的前台。无其他杂七杂八的功能,原生纯净。

项目介绍

基于springboot的一款纯净脚手架。努力打造一款免费开源、注释全、文档全适合新手学习、方便快速二次开发的框架。

1. 没有基础版、没有vip版本、没有付费群、没有收费二维码
2. 遵循开源真谛,一切免费才是真开源
3. 不求回报,你使用快乐就是这个项目最大的快乐!

组织架构

Springboot
├─doc  项目SQL语句以及文档

├─common 公共模块
│  ├─base Base继承通用类
│  ├─conf springBoot所有配置
│  ├─domain 前台返回包
│  ├─druid druid连接池
│  ├─exception 异常处理包
│  ├─file 文件上传
│  ├─interceptor 拦截器
│  ├─log 日志记录AOP
│  ├─domain 前台返回包
│  ├─quartz Spring定时器
│  └─support 工具包

├─controller 请求访问模块
│  ├─admin 模版后台请求包
│  ├─websocket websoket消息请求
│  └─HomeController.java 首页访问类

├─Mapper Dao模块
│  ├─auto mybatis-generator.xml自动生成Dao
│  └─custom 自定义Dao

├─Model 实体类模块
│  ├─auto mybatis-generator.xml自动生成实体包
│  └─custom 自定义实体

├─Service 服务层模块[没写抽象模块,因为我觉得没什么用,可能我能力不足]

├─shiro 权限模块
│  ├─config shiro配置
│  ├─service shiro服务层
│  └─util shiro通用方法

├─util 工具模块

├─SpringbootSwagger2Application 启动类

├─SpringbootWebInitializer tomcat启动类

├─test 测试类

├─resources 配置文件夹
│  ├─ehcache shiro权限缓存配置
│  ├─generator 自动生成模板以及配置目录
│  │   ├─MyBatisGenerator mybates半自动生成工具
│  │   │   ├─1.bat 执行批处理
│  │   │   ├─generator.xml generator配置文件
│  │   │   ├─mybatis-generator-core-1.3.2.jar generator1.3.2版本
│  │   │   ├─mybatis-generator-core-1.3.7.jar generator1.3.7版本【默认】
│  │   │   └─mysqldriver.jar mysql驱动【该驱动为8.0一下的版本不支持8.0自行替换】
│  │   │
│  │   ├─template 模板文件假
│  │   │   ├─controller anction模板
│  │   │   ├─html html页面模板
│  │   │   ├─mapper dao模板
│  │   │   ├─mapperxml daoxml模板
│  │   │   ├─model 实体模板
│  │   │   ├─service service模板
│  │   │   └─sql sql模板
│  │   │
│  │   └─generator.properties 自动生成配置文件
│  │
│  ├─mybatis mybatis Mapper.xml生成文件夹
│  │   ├─auto自动生成的Mapper.xml文件夹
│  │   └─custom 手写Mapper.xml文件夹
│  │
│  ├─static 静态文件存放文件夹[后台模版就放在此文件夹下面。所有的模版页面都在下面]
│  │   ├─admin 后台目录存放
│  │   │  ├─assets js、css存放路径
│  │   │  ├─assets js、css存放路径
│  │   │  └─bootstarp 后台模板存放路径
│  │   ├─js js存放
│  │   └─login 登录页面js、css、image
│  │
│  ├─templates 前台HTML存放文件夹
│  │   ├─admin 动态后台html模板
│  │   ├─error 错误页面html模板
│  │   └─login.html 登录html页面
│  │
│  ├─application-dev.yml 开发环境配置
│  ├─application-prod.yml 生产环境配置
│  ├─application.yml springboot配置
│  ├─banner1.txt springboot 启动动画
│  ├─logback.xml log4j配置文件
│  └─mybatis-generator.xml mybates自动生成 xml、dao、model

└─pom.xml   maven.xml