Commit deaed4f3 authored by luzhuang's avatar luzhuang

log

parent d4701f43
......@@ -59,9 +59,6 @@ public class MTNotificationApiRequestClient {
@Value("${notice.defaultUrl}")
private String defaultUrl;
@Value("${appId.noticeAppId}")
private Long noticeAppId;
@Autowired
private NotificationFeignClient notificationFeignClient;
@Autowired
......@@ -190,7 +187,7 @@ public class MTNotificationApiRequestClient {
log.debug("----------------------通知-调用sendMessage接口----------------------"+json);
try {
ret = notificationFeignClient.sendMessage(mtNotificationSendReqDTO, "app", noticeAppId);
ret = notificationFeignClient.sendMessage(mtNotificationSendReqDTO, "app", 1L);
} catch (Exception ex) {
log.error("----------------------------------------------------调用智信通知失败!----------------------------------------------------------"+ex);
return false;
......@@ -200,6 +197,7 @@ public class MTNotificationApiRequestClient {
if(ret != null && "M0000".equals(ret.getCode())){
log.info("------------------------------通知-发送成功---------------------------------------"+ret);
return true;
}
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