Commit deaed4f3 authored by luzhuang's avatar luzhuang

log

parent d4701f43
...@@ -59,9 +59,6 @@ public class MTNotificationApiRequestClient { ...@@ -59,9 +59,6 @@ public class MTNotificationApiRequestClient {
@Value("${notice.defaultUrl}") @Value("${notice.defaultUrl}")
private String defaultUrl; private String defaultUrl;
@Value("${appId.noticeAppId}")
private Long noticeAppId;
@Autowired @Autowired
private NotificationFeignClient notificationFeignClient; private NotificationFeignClient notificationFeignClient;
@Autowired @Autowired
...@@ -190,7 +187,7 @@ public class MTNotificationApiRequestClient { ...@@ -190,7 +187,7 @@ public class MTNotificationApiRequestClient {
log.debug("----------------------通知-调用sendMessage接口----------------------"+json); log.debug("----------------------通知-调用sendMessage接口----------------------"+json);
try { try {
ret = notificationFeignClient.sendMessage(mtNotificationSendReqDTO, "app", noticeAppId); ret = notificationFeignClient.sendMessage(mtNotificationSendReqDTO, "app", 1L);
} catch (Exception ex) { } catch (Exception ex) {
log.error("----------------------------------------------------调用智信通知失败!----------------------------------------------------------"+ex); log.error("----------------------------------------------------调用智信通知失败!----------------------------------------------------------"+ex);
return false; return false;
...@@ -200,6 +197,7 @@ public class MTNotificationApiRequestClient { ...@@ -200,6 +197,7 @@ public class MTNotificationApiRequestClient {
if(ret != null && "M0000".equals(ret.getCode())){ if(ret != null && "M0000".equals(ret.getCode())){
log.info("------------------------------通知-发送成功---------------------------------------"+ret);
return true; return true;
} }
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment