|
@@ -67,18 +67,18 @@ public class PushWxMessageService {
|
|
|
|
|
|
log.info("推送消息2:内容:{},结果:{}", msgContent, res);
|
|
|
if (StringUtil.isBlank(res)) {
|
|
|
- return "推送失败,未知的异常。";
|
|
|
+ return "推送消息失败,未知的异常。";
|
|
|
}
|
|
|
JSONObject resobj = JSONObject.parseObject(res);
|
|
|
Integer errcode = resobj.getInteger("errcode");
|
|
|
if (null == errcode) {
|
|
|
- return "推送失败,未知的异常。";
|
|
|
+ return "推送消息失败,未知的异常。";
|
|
|
}
|
|
|
if (0 == errcode) {
|
|
|
return "SUCCESS";
|
|
|
}
|
|
|
if (43004 == errcode) {
|
|
|
- return "患者未关注公众号,无法推送。";
|
|
|
+ return "患者未关注公众号,无法推送消息。";
|
|
|
}
|
|
|
return resobj.getString("errmsg");
|
|
|
}
|