Admin.net框架
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

44 lines
2.0 KiB

{
"$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
"Urls": "http://*:5005", //
// "https_port": 44325,
"AllowedHosts": "*",
"AppSettings": {
"InjectSpecificationDocument": true // Swagger
},
"DynamicApiControllerSettings": {
//"DefaultRoutePrefix": "api", //
"CamelCaseSeparator": "", // ()/
"LowercaseRoute": false, //
"AsLowerCamelCase": true //
//"KeepVerb": false //
//"KeepName": true //
},
"FriendlyExceptionSettings": {
"DefaultErrorMessage": "系统异常,请联系管理员",
"ThrowBah": true, // Oops.Oh
"LogError": false //
},
"LocalizationSettings": {
"SupportedCultures": [ "zh-CN", "en-US" ], //
"DefaultCulture": "zh-CN", //
"DateTimeFormatCulture": "zh-CN" //
},
"CorsAccessorSettings": {
"WithExposedHeaders": [ "Content-Disposition", "X-Pagination", "access-token", "x-access-token" ], // axios
"SignalRSupport": true // SignalR
},
"SnowId": {
"WorkerId": 1, //
"WorkerIdBitLength": 1, // 6 [1, 19]
"SeqBitLength": 6 // 6 [3, 21]4
},
"Cryptogram": {
"CryptoType": "SM2", // MD5SM2SM4
"PublicKey": "04F6E0C3345AE42B51E06BF50B98834988D54EBC7460FE135A48171BC0629EAE205EEDE253A530608178A98F1E19BB737302813BA39ED3FA3C51639D7A20C7391A", //
"PrivateKey": "3690655E33D5EA3D9A4AE1A1ADD766FDEA045CDEAA43A9206FB8C430CEFE0D94" //
}
}