修复linux下提交中文乱码问题
This commit is contained in:
parent
f4981650b0
commit
62a3e2ca34
@ -1,5 +1,5 @@
|
||||
#===datasource start===
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
#===datasource end===
|
||||
|
@ -1,5 +1,5 @@
|
||||
#===datasource start===
|
||||
spring.datasource.url=jdbc:mysql://db:3306/mall
|
||||
spring.datasource.url=jdbc:mysql://db:3306/mall?useUnicode=true&characterEncoding=utf-8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
#===datasource end===
|
||||
|
@ -3,7 +3,7 @@ server.port=8082
|
||||
#===server end===
|
||||
|
||||
#数据库连接池配置
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
|
||||
|
@ -14,7 +14,7 @@ logging.level.com.macro.mall.portal.dao=debug
|
||||
#===logging end===
|
||||
|
||||
#===datasource start===
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
#===datasource end===
|
||||
|
@ -3,7 +3,7 @@ server.port=8085
|
||||
#===server end===
|
||||
|
||||
#===datasource start===
|
||||
spring.datasource.url=jdbc:mysql://db:3306/mall
|
||||
spring.datasource.url=jdbc:mysql://db:3306/mall?useUnicode=true&characterEncoding=utf-8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
#===datasource end===
|
||||
|
@ -1,5 +1,5 @@
|
||||
#===datasource start===
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
#===datasource end===
|
||||
|
@ -1,5 +1,5 @@
|
||||
#===datasource start===
|
||||
spring.datasource.url=jdbc:mysql://db:3306/mall
|
||||
spring.datasource.url=jdbc:mysql://db:3306/mall?useUnicode=true&characterEncoding=utf-8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
#===datasource end===
|
||||
|
Loading…
x
Reference in New Issue
Block a user