优化登录验证码设置

This commit is contained in:
不做码农
2022-10-11 21:45:15 +08:00
parent 33136d5bdd
commit a7219048f5
2 changed files with 24 additions and 6 deletions

View File

@@ -24,7 +24,7 @@
"uploadUrl": "http://localhost:8888", //本地存储资源访问路径
"localSavePath": "uploads", //本地上传默认文件存储目录 wwwroot/uploads
"maxSize": 15, //上传文件大小限制 15M
"notAllowedExt": [ ".bat", ".exe", ".jar", ".js"]
"notAllowedExt": [ ".bat", ".exe", ".jar", ".js" ]
},
//阿里云存储配置
"ALIYUN_OSS": {
@@ -105,5 +105,9 @@
"IpRules": [
]
}
},
//验证码配置
"CaptchaOptions": {
"length": 4
}
}