钉钉推送测试
This commit is contained in:
parent
972b1b9f04
commit
0df32f1153
@ -360,7 +360,7 @@ public class DingTalkUtil {
|
||||
thirdMsgSendRecord.setRemark(json.getString("errmsg"));
|
||||
msg = thirdMsgSendRecord.getRemark();
|
||||
}
|
||||
|
||||
logger.info("发送消息{}", thirdMsgSendRecord);
|
||||
}catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
thirdMsgSendRecord.setStatus(6);
|
||||
@ -368,7 +368,7 @@ public class DingTalkUtil {
|
||||
msg = thirdMsgSendRecord.getRemark();
|
||||
|
||||
}
|
||||
thirdMsgSendRecordService.insert(thirdMsgSendRecord);
|
||||
thirdMsgSendRecordService.insertThirdMsgSendRecord(thirdMsgSendRecord);
|
||||
return msg;
|
||||
}
|
||||
|
||||
|
||||
@ -354,7 +354,7 @@ public class DingtalkBusiness {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
logger.info("开始批量推送消息,数量{}, appid", toStaffids.size(), appid);
|
||||
logger.info("开始批量推送消息,数量{}, appid{}", toStaffids.size(), appid);
|
||||
ThirdAppConfig thirdAppConfig = thirdAppConfigService.getByAppId(appid);
|
||||
String token = dingTalkUtil.getAccessTokenWitchEntity(thirdAppConfig);
|
||||
for (StaffSimpleInfo info:toStaffids
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user