添加dev配置验证码开始配置参数

This commit is contained in:
zhangjunwen 2024-08-19 17:37:57 +08:00
parent 73a617f2d6
commit 2504be4156
2 changed files with 6 additions and 4 deletions

View File

@ -69,7 +69,7 @@ public class AdminAuthServiceImpl implements AdminAuthService {
/**
* 验证码的开关默认为 true
*/
@Value("${yudao.captcha.enable:true}")
@Value("${imt.captcha.enable:true}")
private Boolean captchaEnable;
@Override

View File

@ -160,10 +160,12 @@ wx: # 参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-sta
key-prefix: wa # Redis Key 的前缀
http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
--- #################### 芋道相关配置 ####################
--- #################### imt相关配置 ####################
# 芋道配置项,设置当前项目所有自定义的配置
#yudao:
# imt配置项设置当前项目所有自定义的配置
imt:
captcha:
enabled: false
# pay:
# order-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/order # 支付渠道的【支付】回调地址
# refund-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/refund # 支付渠道的【退款】回调地址