mirror of
https://github.com/JeffLi1993/springboot-learning-example.git
synced 2026-03-13 21:43:45 +08:00
更新文档
This commit is contained in:
@@ -22,9 +22,12 @@ springboot 版本 1.5.1.RELEASE
|
|||||||
[《Springboot 整合 Mybatis 的完整 Web 案例》](http://www.bysocket.com/?p=1610 "Springboot 整合 Mybatis 的完整 Web 案例")<br>
|
[《Springboot 整合 Mybatis 的完整 Web 案例》](http://www.bysocket.com/?p=1610 "Springboot 整合 Mybatis 的完整 Web 案例")<br>
|
||||||
- springboot-restful <br>
|
- springboot-restful <br>
|
||||||
[《Springboot 实现 Restful 服务,基于 HTTP / JSON 传输》](http://www.bysocket.com/?p=1627 "Springboot 实现 Restful 服务,基于 HTTP / JSON 传输")<br>
|
[《Springboot 实现 Restful 服务,基于 HTTP / JSON 传输》](http://www.bysocket.com/?p=1627 "Springboot 实现 Restful 服务,基于 HTTP / JSON 传输")<br>
|
||||||
- Spring Boot 集成 FreeMarker<br>
|
- springboot-restful <br>
|
||||||
Spring Boot 集成 FreeMarker 及使用 taglib
|
[《Spring Boot 集成 FreeMarker 详解案例》](http://www.bysocket.com/?p=1666 "Spring Boot 集成 FreeMarker 详解案例")<br>
|
||||||
- Spring Boot 集成 Dubbo<br>
|
- springboot-dubbo-server 和 springboot-dubbo-client
|
||||||
|
Dubbo 服务提供者工程和 Dubbo 服务消费者工程
|
||||||
|
Springboot 整合 Dubbo/ZooKeeper 详解 SOA 案例 <br>
|
||||||
|
|
||||||
|
|
||||||
## 二、项目 Quick Start 快速开发指南
|
## 二、项目 Quick Start 快速开发指南
|
||||||
#### a. 基本环境配置
|
#### a. 基本环境配置
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
## 数据源配置
|
## 数据源配置
|
||||||
spring.datasource.url=jdbc:mysql://localhost:3306/springbootdb?useUnicode=true&characterEncoding=utf8
|
spring.datasource.url=jdbc:mysql://139.224.14.39:3306/springbootdb?useUnicode=true&characterEncoding=utf8
|
||||||
spring.datasource.username=root
|
spring.datasource.username=root
|
||||||
spring.datasource.password=123456
|
spring.datasource.password=Hello123!@
|
||||||
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||||
|
|
||||||
## Mybatis 配置
|
## Mybatis 配置
|
||||||
@@ -10,7 +10,7 @@ mybatis.mapperLocations=classpath:mapper/*.xml
|
|||||||
|
|
||||||
## Freemarker 配置
|
## Freemarker 配置
|
||||||
## 文件配置路径
|
## 文件配置路径
|
||||||
spring.freemarker.template-loader-path=classpath:/city/
|
spring.freemarker.template-loader-path=classpath:/web/
|
||||||
spring.freemarker.cache=false
|
spring.freemarker.cache=false
|
||||||
spring.freemarker.charset=UTF-8
|
spring.freemarker.charset=UTF-8
|
||||||
spring.freemarker.check-template-location=true
|
spring.freemarker.check-template-location=true
|
||||||
|
|||||||
Reference in New Issue
Block a user