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.

173 lines
5.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"ConnectionStrings": {
"ConfigId": "master",
"DbType": "MySql",
"SqlConnection": "server=127.0.0.1;Port=3306;Database=eaxing_dev;Uid=root;Pwd=admin123;Charset=utf8;"
},
"SoundAddr": {
"Address01": "D:\\Voice\\01.mp4",
"Address02": "D:\\Voice\\02.mp4",
"Address03": "D:\\Voice\\03.mp4",
"Address04": "D:\\Voice\\04.mp4",
"Address05": "D:\\Voice\\05.mp4",
"Address06": "D:\\Voice\\06.mp4",
"Address07": "D:\\Voice\\07.mp4",
"Address08": "D:\\Voice\\08.mp4",
"Address09": "D:\\Voice\\09.mp4",
"Address10": "D:\\Voice\\10.mp4",
"Address11": "D:\\Voice\\11.mp4",
"Address12": "D:\\Voice\\12.mp4",
"Address13": "D:\\Voice\\13.mp4",
"Address14": "D:\\Voice\\14.mp4",
"Address15": "D:\\Voice\\15.mp4",
"Address16": "D:\\Voice\\16.mp4",
"Address17": "D:\\Voice\\17.mp4",
"Address18": "D:\\Voice\\18.mp4",
"Address19": "D:\\Voice\\19.mp4",
"Address20": "D:\\Voice\\20.mp4",
"Address21": "D:\\Voice\\21.mp4",
"Address22": "D:\\Voice\\22.mp4",
"Address23": "D:\\Voice\\23.mp4",
"Address24": "D:\\Voice\\24.mp4",
"Address25": "D:\\Voice\\25.mp4",
"Address26": "D:\\Voice\\26.mp4",
"Address27": "D:\\Voice\\27.mp4",
"Address28": "D:\\Voice\\28.mp4",
"Address29": "D:\\Voice\\29.mp4",
},
"Update": {
"AutoUpdate": "false",
"Version": "1.1.0.1",
"Url": "http://121.4.95.243:8090/Updates/AutoUpdaterStarter.xml"
},
"Redis": {
"Connection": "localhost:6379,password=123456",
"InstanceName": "local",
"DefaultDB": "8"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"": null,
"Cryptogram": {
"StrongPassword": "false",
// 是否开启密码强度验证
"PasswordStrengthValidation": "(?=^.{6,16}$)(?=.*\\d)(?=.*\\W+)(?=.*[A-Z])(?=.*[a-z])(?!.*\\n).*$",
// 密码强度验证正则表达式必须须包含大小写字母、数字和特殊字符的组合长度在6-16之间
"PasswordStrengthValidationMsg": "密码必须包含大小写字母、数字和特殊字符的组合长度在6-16之间",
// 密码强度验证消息提示
"CryptoType": "SM2",
// 密码加密算法MD5、SM2、SM4
"PublicKey": "0484C7466D950E120E5ECE5DD85D0C90EAA85081A3A2BD7C57AE6DC822EFCCBD66620C67B0103FC8DD280E36C3B282977B722AAEC3C56518EDCEBAFB72C5A05312",
// 公钥
"PrivateKey": "8EDB615B1D48B8BE188FC0F18EC08A41DF50EA731FA28BF409E6552809E3A111"
// 私钥
},
//Login
"TokenOptions": {
"SecurityKey": "s4104j1401kopposdfjsfj091541111111111",
"Domain": "*",
"Audience": "jwtAudience",
"Issuer": "jwtIssuer"
},
"Upload": {
"Path": "Upload/{yyyy}/{MM}/{dd}",
// 文件上传目录
"MaxSize": 20480,
// 文件最大限制KB1024*20
"ContentType": [
"image/jpg",
"image/png",
"image/jpeg",
"image/gif",
"image/bmp",
"text/plain",
"application/pdf",
"application/msword",
"application/vnd.ms-excel",
"application/vnd.ms-powerpoint",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"video/mp4"
],
"EnableMd5": false
// 启用文件MDF5验证-防止重复上传
},
//SysLogin
"JWTSettings": {
"ValidateIssuerSigningKey": true,
// 是否验证密钥bool 类型默认true
"IssuerSigningKey": "3c1cbc3f546eda35168c3aa3cb91780fbe703f0996c6d123ea96dc85c70bbc0a",
// 密钥string 类型必须是复杂密钥长度大于16
"ValidateIssuer": true,
// 是否验证签发方bool 类型默认true
"ValidIssuer": "Admin.NET",
// 签发方string 类型
"ValidateAudience": true,
// 是否验证签收方bool 类型默认true
"ValidAudience": "Admin.NET",
// 签收方string 类型
"ValidateLifetime": true,
// 是否验证过期时间bool 类型默认true建议true
//"ExpiredTime": 20, // 过期时间long 类型单位分钟默认20分钟最大支持 13 年
"ClockSkew": 5,
// 过期时间容错值long 类型单位秒默认5秒
"Algorithm": "HS256",
// 加密算法string 类型,默认 HS256
"RequireExpirationTime": true
// 验证过期时间,设置 false 将永不过期
},
"SnowId": {
"WorkerId": 1,
// 机器码 全局唯一
"WorkerIdBitLength": 6,
// 机器码位长 默认值6取值范围 [1, 19]
"SeqBitLength": 6,
// 序列数位长 默认值6取值范围 [3, 21]建议不小于4值越大性能越高、Id位数也更长
"WorkerPrefix": "adminnet_"
// 缓存前缀
},
"HttpContextRequest": {
"Scheme": ""
},
"Kestrel": {
"Endpoints": {
"http": {
"Url": "http://*:5034"
}
}
},
"cloud": {
"enable": false
},
"plc": {
"enable": false
},
"swap": {
"enable": false
},
"task": {
"enable": false
},
"Task": {
"Disabled": "ChargeOrderUploadTask"
},
"fire": {
"enable": false
},
"Job": {
"Enabled": false
},
"Log": {
"Src": "D:\\RiderProjects\\hn_back_charger\\WebStarter\\bin\\Debug\\net6.0\\logs",
"Dest": "D:\\zip",
"Days": 7
}
}