Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yaconf
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
yaconf
Commits
4bbab53b
Commit
4bbab53b
authored
Jul 26, 2021
by
wangdong1
Browse files
Options
Browse Files
Download
Plain Diff
add:提交接口
parents
4b7fd06f
4c59cb04
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
148 additions
and
14 deletions
+148
-14
interface.ini
interface.ini
+68
-4
mysql.ini
mysql.ini
+47
-4
redis.ini
redis.ini
+33
-6
No files found.
interface.ini
View file @
4bbab53b
This diff is collapsed.
Click to expand it.
mysql.ini
View file @
4bbab53b
...
@@ -63,6 +63,16 @@ merchant.charset='utf8mb4'
...
@@ -63,6 +63,16 @@ merchant.charset='utf8mb4'
merchant.write.host
=
'w.bp_merchant.int.yidian-inc.com:3306'
merchant.write.host
=
'w.bp_merchant.int.yidian-inc.com:3306'
merchant.read.host
=
'r.bp_merchant_1.int.yidian-inc.com:3306,r.bp_merchant_2.int.yidian-inc.com:3306'
merchant.read.host
=
'r.bp_merchant_1.int.yidian-inc.com:3306,r.bp_merchant_2.int.yidian-inc.com:3306'
;导数据专用--线上
dao.database_type
=
'mysql'
dao.database_name
=
'zhiyue'
dao.connect_timeout
=
2
dao.username
=
'zhiyue_tmp_ro'
dao.password
=
'AABBCCDD'
dao.charset
=
'utf8mb4'
;marketing.write.host='10.126.155.120:3306'
dao.read.host
=
'10.136.150.2:3307'
; 预发环境
; 预发环境
[perf-merchant : prod-merchant : merchant : common]
[perf-merchant : prod-merchant : merchant : common]
...
@@ -108,13 +118,13 @@ merchant.read.host='r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_
...
@@ -108,13 +118,13 @@ merchant.read.host='r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_
;导数据专用--目前调试
;导数据专用--目前调试
dao.database_type
=
'mysql'
dao.database_type
=
'mysql'
dao.database_name
=
'
juliet
'
dao.database_name
=
'
zhiyue
'
dao.connect_timeout
=
2
dao.connect_timeout
=
2
dao.username
=
'tmp_ro'
dao.username
=
'
zhiyue_
tmp_ro'
dao.password
=
'
s5JEh#FUvX%7P3sO9ZDQw&cpH$Xr8Q
'
dao.password
=
'
AABBCCDD
'
dao.charset
=
'utf8mb4'
dao.charset
=
'utf8mb4'
;marketing.write.host='10.126.155.120:3306'
;marketing.write.host='10.126.155.120:3306'
dao.read.host
=
'10.1
26.155.120:3306
'
dao.read.host
=
'10.1
36.150.2:3307
'
[goods : common]
[goods : common]
...
@@ -139,6 +149,7 @@ marketing.charset='utf8mb4'
...
@@ -139,6 +149,7 @@ marketing.charset='utf8mb4'
marketing.write.host
=
'w.bp_marketing.int.yidian-inc.com:3306'
marketing.write.host
=
'w.bp_marketing.int.yidian-inc.com:3306'
marketing.read.host
=
'r.bp_marketing_1.int.yidian-inc.com:3306,r.bp_marketing_2.int.yidian-inc.com:3306'
marketing.read.host
=
'r.bp_marketing_1.int.yidian-inc.com:3306,r.bp_marketing_2.int.yidian-inc.com:3306'
; 预发环境
; 预发环境
[perf-goods : prod-goods : goods : common]
[perf-goods : prod-goods : goods : common]
...
@@ -162,6 +173,8 @@ marketing.charset='utf8mb4'
...
@@ -162,6 +173,8 @@ marketing.charset='utf8mb4'
marketing.write.host
=
'w.bp_test_mysql4.int.yidian-inc.com:3309'
marketing.write.host
=
'w.bp_test_mysql4.int.yidian-inc.com:3309'
marketing.read.host
=
'r.bp_test_mysql4_1.int.yidian-inc.com:3309,r.bp_test_mysql4_2.int.yidian-inc.com:3309'
marketing.read.host
=
'r.bp_test_mysql4_1.int.yidian-inc.com:3309,r.bp_test_mysql4_2.int.yidian-inc.com:3309'
; 开发联调测试
; 开发联调测试
[dev-goods : goods : common]
[dev-goods : goods : common]
goods.database_type
=
'mysql'
goods.database_type
=
'mysql'
...
@@ -184,6 +197,7 @@ marketing.read.host='r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1
...
@@ -184,6 +197,7 @@ marketing.read.host='r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1
;TCC使用分片
;TCC使用分片
[tcc : common]
[tcc : common]
...
@@ -224,6 +238,15 @@ order.charset='utf8mb4'
...
@@ -224,6 +238,15 @@ order.charset='utf8mb4'
order.write.host
=
'w.bp_order.int.yidian-inc.com:3306'
order.write.host
=
'w.bp_order.int.yidian-inc.com:3306'
order.read.host
=
'r.bp_order_1.int.yidian-inc.com:3306,r.bp_order_2.int.yidian-inc.com:3306'
order.read.host
=
'r.bp_order_1.int.yidian-inc.com:3306,r.bp_order_2.int.yidian-inc.com:3306'
; 生活号 接龙拼单 骑手排线功能开发 @耿鸿飞 @2021-7-21 待生活号重构完毕后会删除该配置
commerce.database_type
=
'mysql'
commerce.database_name
=
'commerce'
commerce.connect_timeout
=
2
commerce.username
=
'commerce_rw'
commerce.password
=
'zhd8IJZdpAgxyvc6EVPP3VG8'
commerce.charset
=
'utf8mb4'
commerce.write.host
=
'dbproxy.local.cutt.com:5101'
commerce.read.host
=
'dbproxy.local.cutt.com:5101'
; 预发环境
; 预发环境
[perf-order : prod-order : order : common]
[perf-order : prod-order : order : common]
...
@@ -238,6 +261,16 @@ order.charset='utf8mb4'
...
@@ -238,6 +261,16 @@ order.charset='utf8mb4'
order.write.host
=
'w.bp_test_mysql4.int.yidian-inc.com:3309'
order.write.host
=
'w.bp_test_mysql4.int.yidian-inc.com:3309'
order.read.host
=
'r.bp_test_mysql4_1.int.yidian-inc.com:3309,r.bp_test_mysql4_2.int.yidian-inc.com:3309'
order.read.host
=
'r.bp_test_mysql4_1.int.yidian-inc.com:3309,r.bp_test_mysql4_2.int.yidian-inc.com:3309'
; 生活号 接龙拼单 骑手排线功能开发 @耿鸿飞 @2021-7-21 待生活号重构完毕后会删除该配置
commerce.database_type
=
'mysql'
commerce.database_name
=
'commerce'
commerce.connect_timeout
=
2
commerce.username
=
'shq_rw'
commerce.password
=
'@Z0#ylCRgPKx4v1bjqH5#mNP%9UO7t'
commerce.charset
=
'utf8mb4'
commerce.write.host
=
'10.126.154.178:3306'
commerce.read.host
=
'10.126.154.178:3306'
; 开发联调测试
; 开发联调测试
[dev-order : order : common]
[dev-order : order : common]
order.database_type
=
'mysql'
order.database_type
=
'mysql'
...
@@ -250,6 +283,16 @@ order.write.host='w.bp_test_mysql1.int.yidian-inc.com:3306'
...
@@ -250,6 +283,16 @@ order.write.host='w.bp_test_mysql1.int.yidian-inc.com:3306'
order.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
order.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
; 生活号 接龙拼单 骑手排线功能开发 @耿鸿飞 @2021-7-21 待生活号重构完毕后会删除该配置
commerce.database_type
=
'mysql'
commerce.database_name
=
'commerce'
commerce.connect_timeout
=
2
commerce.username
=
'shq_rw'
commerce.password
=
'@Z0#ylCRgPKx4v1bjqH5#mNP%9UO7t'
commerce.charset
=
'utf8mb4'
commerce.write.host
=
'10.126.154.178:3306'
commerce.read.host
=
'10.126.154.178:3306'
[pay : common]
[pay : common]
...
...
redis.ini
View file @
4bbab53b
...
@@ -9,7 +9,7 @@ cacheConnect.fallback=''
...
@@ -9,7 +9,7 @@ cacheConnect.fallback=''
cacheConnect.password
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'
none
'
cacheConnect.serializer
=
'
igbinary
'
cacheConnect.prefix
=
''
cacheConnect.prefix
=
''
...
@@ -22,7 +22,7 @@ cacheConnect.fallback=''
...
@@ -22,7 +22,7 @@ cacheConnect.fallback=''
cacheConnect.password
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'
none
'
cacheConnect.serializer
=
'
igbinary
'
cacheConnect.prefix
=
''
cacheConnect.prefix
=
''
[dev-gateway : test-gateway : gateway : common]
[dev-gateway : test-gateway : gateway : common]
...
@@ -41,7 +41,7 @@ cacheConnect.fallback=''
...
@@ -41,7 +41,7 @@ cacheConnect.fallback=''
cacheConnect.password
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'
none
'
cacheConnect.serializer
=
'
igbinary
'
cacheConnect.prefix
=
''
cacheConnect.prefix
=
''
countConnect.mode
=
'codis'
countConnect.mode
=
'codis'
...
@@ -64,7 +64,7 @@ cacheConnect.fallback=''
...
@@ -64,7 +64,7 @@ cacheConnect.fallback=''
cacheConnect.password
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'
none
'
cacheConnect.serializer
=
'
igbinary
'
cacheConnect.prefix
=
''
cacheConnect.prefix
=
''
[dev-merchant : test-merchant : prod-merchant : merchant : common]
[dev-merchant : test-merchant : prod-merchant : merchant : common]
...
@@ -98,7 +98,7 @@ cacheConnect.fallback=''
...
@@ -98,7 +98,7 @@ cacheConnect.fallback=''
cacheConnect.password
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'
none
'
cacheConnect.serializer
=
'
igbinary
'
cacheConnect.prefix
=
''
cacheConnect.prefix
=
''
...
@@ -111,6 +111,33 @@ cacheConnect.fallback=''
...
@@ -111,6 +111,33 @@ cacheConnect.fallback=''
cacheConnect.password
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'
none
'
cacheConnect.serializer
=
'
igbinary
'
cacheConnect.prefix
=
''
cacheConnect.prefix
=
''
[dev-goods : test-goods : goods : common]
[dev-goods : test-goods : goods : common]
[order : common]
[prod-order : order : common]
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18136/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
[perf-order : order : common]
[test-order : order : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18131/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'igbinary'
cacheConnect.prefix
=
''
[dev-order : test-order : order : common]
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