diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/auth/AdminAuthServiceImpl.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/auth/AdminAuthServiceImpl.java index 260897f..cb99c4d 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/auth/AdminAuthServiceImpl.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/auth/AdminAuthServiceImpl.java @@ -69,7 +69,7 @@ public class AdminAuthServiceImpl implements AdminAuthService { /** * 验证码的开关,默认为 true */ - @Value("${yudao.captcha.enable:true}") + @Value("${imt.captcha.enable:true}") private Boolean captchaEnable; @Override diff --git a/imt-server/imt-server/src/main/resources/application-dev.yaml b/imt-server/imt-server/src/main/resources/application-dev.yaml index af6aa22..96e2a1b 100644 --- a/imt-server/imt-server/src/main/resources/application-dev.yaml +++ b/imt-server/imt-server/src/main/resources/application-dev.yaml @@ -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 # 支付渠道的【退款】回调地址