diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/shortmessage/service/impl/BizShortMessageServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/shortmessage/service/impl/BizShortMessageServiceImpl.java index f3c27d6..7092430 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/shortmessage/service/impl/BizShortMessageServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/shortmessage/service/impl/BizShortMessageServiceImpl.java @@ -49,7 +49,7 @@ public class BizShortMessageServiceImpl extends BaseServiceImpl redisTemplate; - @Value("${mconfig.privateKey}") + @Value("${message.privateKey}") private String privateKey; @Override public Boolean authCodeSend(String mobile) { diff --git a/src/main/resources/application-local.yml b/src/main/resources/application-local.yml index 113ceac..d5f3b0d 100644 --- a/src/main/resources/application-local.yml +++ b/src/main/resources/application-local.yml @@ -202,6 +202,7 @@ message: sendVerifycodeHttpUrl: http://10.124.150.230:8000/api/chinaUnicom/dataMidPlatform/authenticationCenter/messageSendVerifycode/v1 checkVerifycodeHttpUrl: http://10.124.150.230:8000/api/chinaUnicom/dataMidPlatform/authenticationCenter/messageCheckVerifycode/v1 callBackUrl: http://10.124.150.230:8000/api/chinaUnicom/manageCenter/eshop/mobilecheck/v1 + privateKey: MHgCAQECIQCA7a1i8iMeG0QoNfLYkAaj3IugsHjBGwcQv9/PmXY+cKAKBggqgRzPVQGCLaFEA0IABDBEOwQYJia5S4b5vbWy8YEh1LebhTTB2s2XlQfpjAEP7o8yYgwXWW20sXR+DcOPLwE1qqj9wUWz4zeeiv1+mzk= # 用户暴露给 prometheus 的健康数据 management: endpoints: