springboot-demo-源码

上传者: 42131785 | 上传时间: 2021-05-02 22:03:06 | 文件大小: 1021KB | 文件类型: ZIP
springboot-mybatis 此项目属于spring boot入门初级 本次主要做了与mybatis的整合 主要功能: 项目正常启动 使用mybatis-generator逆向工程来生成相应的po和mapper 使用mybatis能够连接数据库并查询 新增集成log4j2 --2017-05-25 异步打印日志 新增myBatis分页插件pageHelper --2017-05-31 集成spring thymeleaf、security --2017-06-09 集成Swagger2构建RESTful API文档 --2017-06-11 新增Excel导出功能 新增双数据源自动切换 Maven镜像 使用国外的Maven仓库速度很慢、甚至连接不上,很容易出错。可以使用aliyun的Maven

文件下载

资源详情

[{"title":"( 58 个子文件 1021KB ) springboot-demo-源码","children":[{"title":"springboot-demo-master","children":[{"title":".gitignore <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":".mvn","children":[{"title":"wrapper","children":[{"title":"maven-wrapper.jar <span style='color:#111;'> 48.34KB </span>","children":null,"spread":false},{"title":"maven-wrapper.properties <span style='color:#111;'> 110B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"templates","children":[{"title":"401.html <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":"login.html <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"500.html <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"hello.html <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"403.html <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"404.html <span style='color:#111;'> 326B </span>","children":null,"spread":false}],"spread":true},{"title":"application-dev.properties <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"mybatis","children":[{"title":"mapper","children":[{"title":"oracle","children":[{"title":"RoleMapper.xml <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"mysql","children":[{"title":"UserMapper.xml <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"mybatis-generator.xml <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"apiurl.properties <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"application.properties <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"mybatis-config.xml <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"log4j2.xml <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"demo","children":[{"title":"Swagger2.java <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"entity","children":[{"title":"Role.java <span style='color:#111;'> 384B </span>","children":null,"spread":false},{"title":"Country.java <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"User.java <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"filter","children":[{"title":"LogCostFilter.java <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"ResponseWrapper.java <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"HelloController.java <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"SwaggerController.java <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"ErrorController.java <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"ExportExcelController.java <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"RestControllerAdvice.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"oracle","children":[{"title":"mapper","children":[{"title":"RoleMapper.java <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"CountryMapper.java <span style='color:#111;'> 620B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"utils","children":[{"title":"ExcelCreateUtil.java <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false}],"spread":false},{"title":"configuration","children":[{"title":"ApiUrlProperties.java <span style='color:#111;'> 716B </span>","children":null,"spread":false}],"spread":false},{"title":"security","children":[{"title":"LoginFilter.java <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"ErrorPageConfig.java <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"SecurityConfig.java <span style='color:#111;'> 3.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"MyUserDetailsService.java <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"UserServiceImpl.java <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"UserService.java <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"RoleServiceImpl.java <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"RoleService.java <span style='color:#111;'> 170B </span>","children":null,"spread":false},{"title":"CountryService.java <span style='color:#111;'> 356B </span>","children":null,"spread":false},{"title":"CountryServiceImpl.java <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"OracleDataSourceConfig.java <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"MySqlDataSourceConfig.java <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"mysql","children":[{"title":"mapper","children":[{"title":"UserMapper.java <span style='color:#111;'> 1000B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"common","children":[{"title":"JSONResult.java <span style='color:#111;'> 760B </span>","children":null,"spread":false}],"spread":false},{"title":"Application.java <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"AbstractApplicationTests.java <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"DemoApplicationTests.java <span style='color:#111;'> 519B </span>","children":null,"spread":false},{"title":"MapperTest.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"GeneratorSqlMapTest.java <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"mvnw <span style='color:#111;'> 6.89KB </span>","children":null,"spread":false},{"title":"doc","children":[{"title":"codetemplates.xml <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 4.15KB </span>","children":null,"spread":false},{"title":"mvnw.cmd <span style='color:#111;'> 4.89KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"mysql-connector-java-5.1.41.jar <span style='color:#111;'> 969.54KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明