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.
57 lines
1.2 KiB
57 lines
1.2 KiB
# 项目相关配置
|
|
# 项目名称
|
|
kelp.name=kelp
|
|
# 版本
|
|
kelp.version=4.1.0
|
|
# 版权年份
|
|
kelp.copyright=2021
|
|
|
|
# 防止XSS攻击
|
|
# 过滤开关
|
|
xss.enabled=true
|
|
# 排除链接(多个用逗号分隔)
|
|
xss.excludes=
|
|
# 匹配链接
|
|
xss.urlPatterns=/api/*,/plat/*
|
|
|
|
# oscache全局缓存
|
|
# 过滤开关
|
|
oscache.enabled=true
|
|
# 排除链接(多个用逗号分隔)
|
|
oscache.excludes=/notice/*
|
|
# 匹配链接
|
|
oscache.urlPatterns=/html/*
|
|
|
|
# 用户配置 密码错误{error.count}次锁定{error.locked.minute}分钟
|
|
user.password.error.count=5
|
|
user.password.error.locked.minute=10
|
|
|
|
#对姓名、手机号进行掩码:1-不掩码;0-掩码
|
|
mask.show=1
|
|
|
|
#每个手机号每天获取短信上限
|
|
sms.maxcount=10
|
|
#短信验证码有效时间
|
|
sms.captcha.validtime=30
|
|
#阿里短信网关配置
|
|
sms.ali.accessKeyId=
|
|
sms.ali.accessKeySecret=
|
|
sms.ali.signName=
|
|
sms.ali.connect.timeout=1000
|
|
sms.ali.read.timeout=1000
|
|
sms.ali.product=Dysmsapi
|
|
sms.ali.domain=dysmsapi.aliyuncs.com
|
|
sms.ali.region=cn-hangzhou
|
|
sms.ali.template.code=
|
|
|
|
#微信小程序相关配置
|
|
wx.app.id=
|
|
wx.app.secret=
|
|
wx.app.url=
|
|
|
|
#Scheduler Interval
|
|
scheduler.interval=* */1 * * * ?
|
|
|
|
#对外api appid
|
|
api.appid=5521
|
|
api.secret=161119
|