From e915a1949ca7e4a0cbf7c4f95dcd6c8cd833cce1 Mon Sep 17 00:00:00 2001 From: "DEVICE8\\12494" Date: Fri, 21 Apr 2023 16:54:05 +0800 Subject: [PATCH] 1 --- .gitignore | 3 ++- .../Configurations/AppSetting.json | 21 ------------------- 2 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 apihost/Tnb.API.Entry/Configurations/AppSetting.json diff --git a/.gitignore b/.gitignore index d4a5457b..55c425d0 100644 --- a/.gitignore +++ b/.gitignore @@ -368,4 +368,5 @@ JetBrains Rider *.sln.DotSettings *.sln.DotSettings.VS2015.user *.sln.DotSettings.VS2017.user -*.sln.DotSettings.VS2019.user \ No newline at end of file +*.sln.DotSettings.VS2019.user +/apihost/Tnb.API.Entry/Configurations/AppSetting.json diff --git a/apihost/Tnb.API.Entry/Configurations/AppSetting.json b/apihost/Tnb.API.Entry/Configurations/AppSetting.json deleted file mode 100644 index da71e465..00000000 --- a/apihost/Tnb.API.Entry/Configurations/AppSetting.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "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 - } -} \ No newline at end of file