Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
config-center
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
proudkids-pub
config-center
Commits
6a34d249
Commit
6a34d249
authored
Feb 27, 2018
by
张宗强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
2bb87992
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
8 deletions
+23
-8
pig-upms-service-dev.yml
+23
-8
No files found.
pig-upms-service-dev.yml
View file @
6a34d249
...
@@ -19,18 +19,33 @@ spring:
...
@@ -19,18 +19,33 @@ spring:
sampler
:
sampler
:
percentage
:
1.0
percentage
:
1.0
datasource
:
# 分库分表支持
sharding
:
jdbc
:
defaultDataSourceName
:
type
:
com.zaxxer.hikari.HikariDataSource
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
username
:
proudkids
password
:
pds123!@#
url
:
jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
url
:
jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource
:
names
:
ds
ds
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
username
:
proudkids
username
:
proudkids
password
:
pds123!@#
password
:
pds123!@#
platform
:
h2
url
:
jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
initialize
:
true
config
:
continue-on-error
:
true
sharding
:
h2
:
tables
:
console
:
sys_log
:
enabled
:
true
actual-data-nodes
:
ds.sys_log_${0..1}
path
:
/console
table-strategy
:
inline
:
sharding-column
:
id
algorithm-expression
:
sys_log_${id % 2}
key-generator-column-name
:
id
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus
:
mybatis-plus
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment