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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
12 deletions
+27
-12
pig-upms-service-dev.yml
+27
-12
No files found.
pig-upms-service-dev.yml
View file @
6a34d249
...
...
@@ -19,18 +19,33 @@ spring:
sampler
:
percentage
:
1.0
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
url
:
jdbc:mysql://192.168.1.82:3306/proudkids_ems?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username
:
proudkids
password
:
pds123!@#
platform
:
h2
initialize
:
true
continue-on-error
:
true
h2
:
console
:
enabled
:
true
path
:
/console
# 分库分表支持
sharding
:
jdbc
:
defaultDataSourceName
:
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
datasource
:
names
:
ds
ds
:
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
config
:
sharding
:
tables
:
sys_log
:
actual-data-nodes
:
ds.sys_log_${0..1}
table-strategy
:
inline
:
sharding-column
:
id
algorithm-expression
:
sys_log_${id % 2}
key-generator-column-name
:
id
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
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