mirror of
https://github.com/JeffLi1993/springboot-learning-example.git
synced 2026-03-13 21:43:45 +08:00
更新文档
This commit is contained in:
13
README.md
13
README.md
@@ -18,13 +18,16 @@ springboot 版本 1.5.1.RELEASE
|
||||
入门 HelloWorld 案例,Quick Start - [《Spring Boot 之 HelloWorld 详解》](http://www.bysocket.com/?p=1124 "Spring Boot 之 HelloWorld详解")<br>
|
||||
|
||||
##### b. Web 开发相关
|
||||
- springboot-mybatis<br>
|
||||
- springboot-mybatis <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>
|
||||
- Spring Boot 集成 FreeMarker<br>
|
||||
Spring Boot 集成 FreeMarker 及使用 taglib
|
||||
- Spring Boot 集成 Dubbo<br>
|
||||
- springboot-restful <br>
|
||||
[《Spring Boot 集成 FreeMarker 详解案例》](http://www.bysocket.com/?p=1666 "Spring Boot 集成 FreeMarker 详解案例")<br>
|
||||
- springboot-dubbo-server 和 springboot-dubbo-client
|
||||
Dubbo 服务提供者工程和 Dubbo 服务消费者工程
|
||||
Springboot 整合 Dubbo/ZooKeeper 详解 SOA 案例 <br>
|
||||
|
||||
|
||||
## 二、项目 Quick Start 快速开发指南
|
||||
#### 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.password=123456
|
||||
spring.datasource.password=Hello123!@
|
||||
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||
|
||||
## Mybatis 配置
|
||||
@@ -10,7 +10,7 @@ mybatis.mapperLocations=classpath:mapper/*.xml
|
||||
|
||||
## Freemarker 配置
|
||||
## 文件配置路径
|
||||
spring.freemarker.template-loader-path=classpath:/city/
|
||||
spring.freemarker.template-loader-path=classpath:/web/
|
||||
spring.freemarker.cache=false
|
||||
spring.freemarker.charset=UTF-8
|
||||
spring.freemarker.check-template-location=true
|
||||
|
||||
Reference in New Issue
Block a user