Files
tnb.server/apihost/Tnb.API.Entry/Configurations/AppSetting.json
pofi a4ed390e82 1. 雪花ID使用配置项
2. 使用自定义日志格式
3. 修复数据模型和新建流程的bug
2023-03-14 20:36:51 +08:00

21 lines
626 B
JSON

{
"AppSettings": {
"InjectMiniProfiler": true,
"SupportPackageNamePrefixs": [ "Tnb" ]
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:9231"
}
}
},
"YitId": {
"WorkerId": 1, //必须 全局唯一,必须 程序设定,理论最大值 2^WorkerIdBitLength-1
"WorkerIdBitLength": 4, //机器码位长,决定 WorkerId 的最大值,默认值6,取值范围 [1, 16]
"SeqBitLength": 4 //序列数位长,默认值6,取值范围 [3, 21](建议不小于4),决定每毫秒基础生成的ID个数
},
"UnifyResultSettings": {
"ShowExceptionDetail": true
}
}