Commit ede0b395 authored by 周亚武's avatar 周亚武

钉钉相关接口

parent 7ce4ec3b
......@@ -89,7 +89,7 @@ public class DingMessageController {
log.info("返回处理参数:" + eventJson.toJSONString() );
if(eventJson.getString("processInstanceId") != null){
Rest<String> rest = dingPersonService.getOaRecordsById(eventJson.getString("processInstanceId"));
log.info("审批详情:" + rest.toString() );
log.info("审批详情:" + rest.getData());
}
}
else {
......
......@@ -123,7 +123,7 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
.setProcessInstanceId(processInstanceId);
GetProcessInstanceResponse rsp = client.getProcessInstanceWithOptions(getProcessInstanceRequest, getProcessInstanceHeaders, new com.aliyun.teautil.models.RuntimeOptions());
log.info("根据用户查询审批详情:", rsp.getBody());
log.info("根据id查询审批详情:", rsp.getBody().getResult().toString());
return Rest.ok("成功", rsp.getBody().getResult().toString());
} catch (Exception e) {
log.info("根据用户查询审批详情失败", e);
......
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