操控平台后端代码
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.

50 lines
2.6 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": "", //
"SplitCamelCase": false, // ()/
"LowercaseRoute": false, //
"AsLowerCamelCase": true, //
"KeepVerb": false, //
"KeepName": false //
},
"FriendlyExceptionSettings": {
"DefaultErrorMessage": "系统异常,请联系管理员",
"ThrowBah": true, // Oops.Oh
"LogError": false //
},
"LocalizationSettings": {
"SupportedCultures": [ "zh-CN", "en" ], //
"DefaultCulture": "zh-CN", //
"DateTimeFormatCulture": "zh-CN" //
},
"CorsAccessorSettings": {
// "WithOrigins": ["https://gitee.com"],
"WithExposedHeaders": [ "Content-Disposition", "X-Pagination", "access-token", "x-access-token" ], // axios
"SignalRSupport": true // SignalR
},
"SnowId": {
"WorkerId": 1, //
"WorkerIdBitLength": 2, // 6 [1, 19]
"SeqBitLength": 6, // 6 [3, 21]4Id
"WorkerPrefix": "adminnet_" //
},
"Cryptogram": {
"StrongPassword": false, //
"PasswordStrengthValidation": "(?=^.{6,16}$)(?=.*\\d)(?=.*\\W+)(?=.*[A-Z])(?=.*[a-z])(?!.*\\n).*$", // 6-16
"PasswordStrengthValidationMsg": "密码必须包含大小写字母、数字和特殊字符的组合,长度在6-16之间", //
"CryptoType": "SM2", // MD5SM2SM4
"PublicKey": "0484C7466D950E120E5ECE5DD85D0C90EAA85081A3A2BD7C57AE6DC822EFCCBD66620C67B0103FC8DD280E36C3B282977B722AAEC3C56518EDCEBAFB72C5A05312", //
"PrivateKey": "8EDB615B1D48B8BE188FC0F18EC08A41DF50EA731FA28BF409E6552809E3A111" //
}
}