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
4635cee1
Commit
4635cee1
authored
Jun 10, 2021
by
luhongguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:增加类型好配置
parent
d1db2ef6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
idgen.ini
idgen.ini
+44
-0
No files found.
idgen.ini
0 → 100644
View file @
4635cee1
[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
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