Commit 4635cee1 authored by luhongguang's avatar luhongguang

update:增加类型好配置

parent d1db2ef6
[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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment