配置数据库、编写SQL语句和基础类

This commit is contained in:
fjy8018@qq.com
2018-07-06 09:52:17 +08:00
parent a41b44f78e
commit e5e783256f
11 changed files with 208 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/db_imis2?useUnicode=true&characterEncoding=utf-8&useSSL=true
username: trs
password: shiro