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
4800aaf0
Commit
4800aaf0
authored
Jun 11, 2021
by
guozhiyuan
Browse files
Options
Browse Files
Download
Plain Diff
update:save
parents
afb37fa2
67b5d0d1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
214 additions
and
36 deletions
+214
-36
.gitignore
.gitignore
+3
-0
idgen.ini
idgen.ini
+44
-0
interface.ini
interface.ini
+50
-21
mongo.ini
mongo.ini
+19
-15
mysql.ini
mysql.ini
+42
-0
redis.ini
redis.ini
+44
-0
xhprof.ini
xhprof.ini
+12
-0
No files found.
.gitignore
0 → 100644
View file @
4800aaf0
.idea
.DS_Store
.project
idgen.ini
0 → 100644
View file @
4800aaf0
[common]
; 事务号 - 开始毫秒时间戳
trans.start_timestamp
=
1619518841000
;事务号 - 二进制位数
trans.bits.timestamp
=
42
trans.bits.machine
=
3
trans.bits.app
=
4
trans.bits.autoincrement
=
14
;事务号 - apcu
trans.apcu.ttl
=
1
trans.apcu.prefix
=
trans_
;订单号 - 十进制位数
order.bits.date
=
12
order.bits.uid
=
2
order.bits.machine
=
1
order.bits.autoincrement
=
2
order.bits.app
=
2
;订单号 - apcu
order.apcu.ttl
=
2
order.apcu.prefix
=
order_
;鉴权
key.bp
=
5cfdb867e96374c7883b31d6928cc4cb
;类型号映射
snow.type.tcc_trans
=
1
snow.type.merchant_life_account_id
=
2
snow.type.goods
=
3
datetime.type.order
=
1
datetime.type.merchant_shop_id
=
2
datetime.type.goods
=
3
[idgen : common]
[prod-idgen : idgen : common]
to_email
=
api@yidian-inc.com
[test-idgen : prod-idgen : idgen : common]
to_email
=
zhangyu1@yidian-inc.com
\ No newline at end of file
interface.ini
View file @
4800aaf0
...
...
@@ -42,20 +42,30 @@ merchant.life_account.create_unauthorized = "merchant.test.yidian-inc.com/lifeac
merchant.user.life_account_list
=
"merchant.test.yidian-inc.com/user/user/account_list"
;企业审核相关接口
merchant.enterprise.ent_check
=
"merchant.test.yidian-inc.com/auth/enterprise/ent_
check"
merchant.enterprise.ent_commit
=
"merchant.test.yidian-inc.com/auth/enterprise/ent_commit
"
merchant.enterprise.legal_commit
=
"merchant.test.yidian-inc.com/auth/enterprise/legal_commit
"
merchant.enterprise.ent_personal
=
"merchant.test.yidian-inc.com/auth/enterprise/ent_personal
"
merchant.enterprise.live_identity
=
"merchant.test.yidian-inc.com/auth/enterprise/live_identity
"
merchant.enterprise.check_life
=
"merchant.test.yidian-inc.com/auth/enterprise/check_life"
merchant.enterprise.create_life
=
"merchant.test.yidian-inc.com/auth/enterprise/create_lif
e"
merchant.enterprise.audit
=
"merchant.test.yidian-inc.com/auth/enterprise/audit"
merchant.enterprise.audit_list
=
"merchant.test.yidian-inc.com/auth/enterprise/audit_list"
merchant.enterprise.add_user
=
"merchant.test.yidian-inc.com/auth/enterprise/add_user"
merchant.enterprise.complete
=
"merchant.test.yidian-inc.com/auth/enterprise/complete"
merchant.enterprise.get_record_info
=
"merchant.test.yidian-inc.com/auth/enterprise/get_record_info"
merchant.enterprise.get_log
=
"merchant.test.yidian-inc.com/auth/enterprise/get_log"
merchant.enterprise.ent_check
=
"merchant.test.yidian-inc.com/auth/enterprise/
check"
merchant.enterprise.ent_commit
=
"merchant.test.yidian-inc.com/auth/enterprise/business
"
merchant.enterprise.legal_commit
=
"merchant.test.yidian-inc.com/auth/enterprise/legal
"
merchant.enterprise.ent_personal
=
"merchant.test.yidian-inc.com/auth/enterprise/employed
"
merchant.enterprise.live_identity
=
"merchant.test.yidian-inc.com/auth/enterprise/live
"
merchant.enterprise.check_life
=
"merchant.test.yidian-inc.com/auth/enterprise/check_life"
merchant.enterprise.create_life
=
"merchant.test.yidian-inc.com/auth/enterprise/employed_complat
e"
merchant.enterprise.audit
=
"merchant.test.yidian-inc.com/auth/enterprise/audit"
merchant.enterprise.audit_list
=
"merchant.test.yidian-inc.com/auth/enterprise/audit_list"
merchant.enterprise.add_user
=
"merchant.test.yidian-inc.com/auth/enterprise/add_user"
merchant.enterprise.complete
=
"merchant.test.yidian-inc.com/auth/enterprise/complete"
merchant.enterprise.get_record_info
=
"merchant.test.yidian-inc.com/auth/enterprise/get_record_info"
merchant.enterprise.get_log
=
"merchant.test.yidian-inc.com/auth/enterprise/get_log"
merchant.enterprise.get_account_role_list
=
"merchant.test.yidian-inc.com/auth/enterprise/get_account_role_list"
merchant.enterprise.send_mobile_code
=
"merchant.test.yidian-inc.com/auth/enterprise/send_mobile_code"
merchant.enterprise.check_mobile_code
=
"merchant.test.yidian-inc.com/auth/enterprise/check_mobile_code"
merchant.enterprise.change_role
=
"merchant.test.yidian-inc.com/auth/enterprise/change_role"
merchant.enterprise.delete_life_user
=
"merchant.test.yidian-inc.com/auth/enterprise/delete_life_user"
merchant.recruit.create_recruit
=
"merchant.test.yidian-inc.com/lifeaccount/recruit/create_recruit"
merchant.recruit.update_recruit
=
"merchant.test.yidian-inc.com/lifeaccount/recruit/update_recruit"
merchant.recruit.get_recruit
=
"merchant.test.yidian-inc.com/lifeaccount/recruit/get_recruit"
merchant.enterprise.send_code
=
"merchant.test.yidian-inc.com/auth/verify/send_code"
merchant.enterprise.check_code
=
"merchant.test.yidian-inc.com/auth/verify/check_code"
...
...
@@ -78,6 +88,7 @@ merchant.authority.add_user_role = "merchant.test.yidian-inc.com/authority/autho
;后台op接口
merchant.enterprise.life_list
=
"merchant.test.yidian-inc.com/auth/enterprise/life_list"
merchant.enterprise.life_info
=
"merchant.test.yidian-inc.com/auth/enterprise/life_info"
merchant.enterprise.op_commit
=
"merchant.test.yidian-inc.com/auth/enterprise/op_commit"
;互动项目
interaction.index.follow
=
"interaction.test.yidian-inc.com/follow/index/follow"
...
...
@@ -87,6 +98,7 @@ interaction.index.is_follow = "interaction.test.yidian-inc.com/follow/index/is_f
[dev-gateway : test-gateway : gateway : common]
;用户审核相关接口
merchant.personal.check
=
"merchant.dev.yidian-inc.com/auth/personal/check"
...
...
@@ -97,22 +109,26 @@ merchant.life_account.create_unauthorized = "merchant.dev.yidian-inc.com/lifeacc
merchant.user.life_account_list
=
"merchant.dev.yidian-inc.com/user/user/account_list"
;企业审核相关接口
merchant.enterprise.ent_check
=
"merchant.dev.yidian-inc.com/auth/enterprise/
ent_
check"
merchant.enterprise.ent_commit
=
"merchant.dev.yidian-inc.com/auth/enterprise/
ent_commit
"
merchant.enterprise.legal_commit
=
"merchant.dev.yidian-inc.com/auth/enterprise/legal
_commit
"
merchant.enterprise.ent_personal
=
"merchant.dev.yidian-inc.com/auth/enterprise/e
nt_personal
"
merchant.enterprise.live_identity
=
"merchant.dev.yidian-inc.com/auth/enterprise/live
_identity
"
merchant.enterprise.ent_check
=
"merchant.dev.yidian-inc.com/auth/enterprise/check"
merchant.enterprise.ent_commit
=
"merchant.dev.yidian-inc.com/auth/enterprise/
business
"
merchant.enterprise.legal_commit
=
"merchant.dev.yidian-inc.com/auth/enterprise/legal"
merchant.enterprise.ent_personal
=
"merchant.dev.yidian-inc.com/auth/enterprise/e
mployed
"
merchant.enterprise.live_identity
=
"merchant.dev.yidian-inc.com/auth/enterprise/live"
merchant.enterprise.check_life
=
"merchant.dev.yidian-inc.com/auth/enterprise/check_life"
merchant.enterprise.create_life
=
"merchant.dev.yidian-inc.com/auth/enterprise/
create_lif
e"
merchant.enterprise.create_life
=
"merchant.dev.yidian-inc.com/auth/enterprise/
employed_complat
e"
merchant.enterprise.audit
=
"merchant.dev.yidian-inc.com/auth/enterprise/audit"
merchant.enterprise.audit_list
=
"merchant.dev.yidian-inc.com/auth/enterprise/audit_list"
merchant.enterprise.add_user
=
"merchant.dev.yidian-inc.com/auth/enterprise/add_user"
merchant.enterprise.complete
=
"merchant.dev.yidian-inc.com/auth/enterprise/complete"
merchant.enterprise.get_record_info
=
"merchant.dev.yidian-inc.com/auth/enterprise/get_record_info"
merchant.enterprise.get_record_info
=
"merchant.test.yidian-inc.com/auth/enterprise/get_record_info"
merchant.enterprise.get_log
=
"merchant.test.yidian-inc.com/auth/enterprise/get_log"
merchant.enterprise.get_account_role_list
=
"merchant.dev.yidian-inc.com/auth/enterprise/get_account_role_list"
merchant.enterprise.send_code
=
"merchant.dev.yidian-inc.com/auth/verify/send_code"
merchant.enterprise.check_code
=
"merchant.dev.yidian-inc.com/auth/verify/check_code"
merchant.recruit.create_recruit
=
"merchant.dev.yidian-inc.com/lifeaccount/recruit/create_recruit"
merchant.recruit.update_recruit
=
"merchant.dev.yidian-inc.com/lifeaccount/recruit/update_recruit"
merchant.recruit.get_recruit
=
"merchant.dev.yidian-inc.com/lifeaccount/recruit/get_recruit"
;管理员用户权限相关接口
merchant.authority.get_role_list
=
"merchant.dev.yidian-inc.com/authority/authority/get_role_list"
...
...
@@ -132,6 +148,7 @@ merchant.authority.add_user_role = "merchant.dev.yidian-inc.com/authority/author
;后台op接口
merchant.enterprise.life_list
=
"merchant.dev.yidian-inc.com/auth/enterprise/life_list"
merchant.enterprise.life_info
=
"merchant.dev.yidian-inc.com/auth/enterprise/life_info"
merchant.enterprise.op_commit
=
"merchant.dev.yidian-inc.com/auth/enterprise/op_commit"
;互动项目
interaction.index.follow
=
"interaction.dev.yidian-inc.com/follow/index/follow"
...
...
@@ -140,6 +157,9 @@ interaction.index.fans_list = "interaction.dev.yidian-inc.com/follow/index/fans_
interaction.index.is_follow
=
"interaction.test.yidian-inc.com/follow/index/is_follow"
[merchant : common]
[test-merchant : merchant : common]
;简网用户信息
...
...
@@ -152,4 +172,13 @@ service.jw_user.get_user_list = "http://testblend.jwshq.cn/ydInner/getUserList
;idgen发号器
service.idgen
=
"idgen-test.ini.yidian-inc.com/id/get"
[dev-merchant : test-merchant : merchant : common]
\ No newline at end of file
[dev-merchant : test-merchant : merchant : common]
[goods : common]
[test-goods : goods : common]
;idgen发号器
service.idgen
=
"idgen-test.ini.yidian-inc.com/id/get"
[dev-goods : test-goods : goods : common]
\ No newline at end of file
mongo.ini
View file @
4800aaf0
...
...
@@ -3,22 +3,26 @@
;商户项目配置
;商户项目继承common + 自己的配置,此节中配置会覆盖父级的相同配置(不区分环境)
[
merchant
: common]
[
gateway
: common]
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-
merchant : merchant
: common]
[prod-
gateway : gateway
: common]
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-merchant : prod-merchant : merchant : common]
[test-merchant : prod-merchant : merchant : common]
merchant.host
=
"rs_bp_test_01.int.yidian-inc.com:27018,rs_bp_test_02.int.yidian-inc.com:27018,rs_bp_test_03.int.yidian-inc.com:27018"
merchant.uriOptions.username
=
'rs_bp_test_rw'
merchant.uriOptions.password
=
'uE5bLz9#GSHXzhuaAeTDqll65mM@XC'
merchant.uriOptions.replicaSet
=
'rs_bp_test'
merchant.uriOptions.readPreference
=
'secondaryPreferred'
merchant.uriOptions.connectTimeoutMS
=
500
merchant.uriOptions.socketTimeoutMS
=
6000
merchant.uriOptions.w
=
1
merchant.uriOptions.wTimeoutMS
=
3000
merchant.driverOptions.typeMap.root
=
'array'
merchant.driverOptions.typeMap.document
=
'array'
[perf-gateway : prod-gateway : gateway : common]
[test-gateway : prod-gateway : gateway : common]
gateway.host
=
"rs_bp_test_01.int.yidian-inc.com:27018,rs_bp_test_02.int.yidian-inc.com:27018,rs_bp_test_03.int.yidian-inc.com:27018"
gateway.uriOptions.username
=
'rs_bp_test_rw'
gateway.uriOptions.password
=
'uE5bLz9#GSHXzhuaAeTDqll65mM@XC'
gateway.uriOptions.replicaSet
=
'rs_bp_test'
gateway.uriOptions.readPreference
=
'secondaryPreferred'
gateway.uriOptions.connectTimeoutMS
=
500
gateway.uriOptions.socketTimeoutMS
=
6000
gateway.uriOptions.w
=
1
gateway.uriOptions.wTimeoutMS
=
3000
gateway.driverOptions.typeMap.root
=
'array'
gateway.driverOptions.typeMap.document
=
'array'
[dev-gateway : test-gateway : prod-gateway : gateway : common]
\ No newline at end of file
mysql.ini
View file @
4800aaf0
...
...
@@ -31,3 +31,45 @@ merchant.password='hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
merchant.charset
=
'utf8mb4'
merchant.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
merchant.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
; 测试环境
[test-interaction : prod-interaction : interaction : common]
merchant.database_type
=
'mysql'
merchant.database_name
=
'interaction'
merchant.connect_timeout
=
10
merchant.username
=
'bp_test_rw'
merchant.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
merchant.charset
=
'utf8mb4'
merchant.write.host
=
'w.bp_test_mysql4.int.yidian-inc.com:3309'
merchant.read.host
=
'r.bp_test_mysql4_1.int.yidian-inc.com:3309,r.bp_test_mysql4_2.int.yidian-inc.com:3309'
; 联调环境
[dev-interaction : prod-interaction : interaction : common]
merchant.database_type
=
'mysql'
merchant.database_name
=
'interaction'
merchant.connect_timeout
=
10
merchant.username
=
'bp_test_rw'
merchant.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
merchant.charset
=
'utf8mb4'
merchant.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
merchant.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
[goods : common]
; 生产环境
[prod-goods : goods : common]
; 预发环境
[perf-goods : prod-goods : merchant : common]
;开发联调测试
[dev-goods : prod-goods : merchant : common]
goods.database_type
=
'mysql'
goods.database_name
=
'goods'
goods.connect_timeout
=
10
goods.username
=
'bp_test_rw'
goods.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
goods.charset
=
'utf8mb4'
goods.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
goods.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
\ No newline at end of file
redis.ini
0 → 100644
View file @
4800aaf0
[common]
[gateway : common]
[prod-gateway : gateway : common]
[perf-gateway : gateway : common]
[test-gateway : gateway : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'http://10.126.165.6:18080/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'none'
cacheConnect.prefix
=
''
[dev-gateway : test-gateway : gateway : common]
;商户项目配置
;商户项目继承common + 自己的配置,此节中配置会覆盖父级的相同配置(不区分环境)
[merchant : common]
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-merchant : merchant : common]
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-merchant : prod-merchant : merchant : common]
[test-merchant : prod-merchant : merchant : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'http://10.126.165.6:18080/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'none'
cacheConnect.prefix
=
''
[dev-merchant : test-merchant : prod-merchant : merchant : common]
[dev-interaction : test-merchant : prod-merchant : merchant : common]
xhprof.ini
0 → 100644
View file @
4800aaf0
[common]
gateway.host
=
"rs_bp_test_01.int.yidian-inc.com:27018,rs_bp_test_02.int.yidian-inc.com:27018,rs_bp_test_03.int.yidian-inc.com:27018"
gateway.uriOptions.username
=
'rs_bp_test_rw'
gateway.uriOptions.password
=
'uE5bLz9#GSHXzhuaAeTDqll65mM@XC'
gateway.uriOptions.replicaSet
=
'rs_bp_test'
gateway.uriOptions.readPreference
=
'secondaryPreferred'
gateway.uriOptions.connectTimeoutMS
=
500
gateway.uriOptions.socketTimeoutMS
=
6000
gateway.uriOptions.w
=
1
gateway.uriOptions.wTimeoutMS
=
3000
gateway.driverOptions.typeMap.root
=
'array'
gateway.driverOptions.typeMap.document
=
'array'
\ No newline at end of file
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