Compare commits

..

No commits in common. "master" and "feat/chengliang" have entirely different histories.

3 changed files with 2 additions and 6 deletions

View File

@ -13,7 +13,6 @@ import com.weaver.mc.api.entity.SendMessageEntity;
import com.weaver.seconddev.chapanda.constant.Constant;
import com.weaver.seconddev.chapanda.entity.dto.EmployeeAttendDTO;
import com.weaver.seconddev.chapanda.feishu.constant.Constants;
import com.weaver.seconddev.chapanda.feishu.entity.OkHttpDto;
import com.weaver.seconddev.chapanda.feishu.util.Esb2FeishuOpenIdUtil;
import com.weaver.seconddev.chapanda.feishu.util.Esb2FeishuSendTodoUtil;
import com.weaver.seconddev.chapanda.feishu.util.Esb2FeishuTokenUtil;
@ -127,8 +126,7 @@ public class KqMindDoneAction implements EsbServerlessRpcRemoteInterface {
taskListArray.add(taskListJson);
bodyJson.put("task_list", taskListArray);
log.error("sendToFeiShuTodo-bodyJson:{}", bodyJson.toJSONString());
OkHttpDto okHttpDto = esb2FeishuSendTodoUtil.doPostSendMessage(bodyJson.toJSONString(), token);
String sendResult = okHttpDto.getResponseBody();
String sendResult = esb2FeishuSendTodoUtil.doPostSendMessage(bodyJson.toJSONString(), token);
if (StringUtils.isNotBlank(sendResult)) {
JSONObject returnData = JSONObject.parseObject(sendResult);
if (returnData.containsKey("code")) {

View File

@ -13,7 +13,6 @@ import com.weaver.mc.api.entity.SendMessageEntity;
import com.weaver.seconddev.chapanda.constant.Constant;
import com.weaver.seconddev.chapanda.entity.dto.EmployeeAttendDTO;
import com.weaver.seconddev.chapanda.feishu.constant.Constants;
import com.weaver.seconddev.chapanda.feishu.entity.OkHttpDto;
import com.weaver.seconddev.chapanda.feishu.util.Esb2FeishuBotCreateTodoUtil;
import com.weaver.seconddev.chapanda.feishu.util.Esb2FeishuOpenIdUtil;
import com.weaver.seconddev.chapanda.feishu.util.Esb2FeishuSendTodoUtil;
@ -200,8 +199,7 @@ public class SendKqMindAction implements EsbServerlessRpcRemoteInterface {
taskListArray.add(taskListJson);
bodyJson.put("task_list", taskListArray);
log.error("sendToFeiShuTodo-bodyJson:{}", bodyJson.toJSONString());
OkHttpDto okHttpDto = esb2FeishuSendTodoUtil.doPostSendMessage(bodyJson.toJSONString(), token);
String sendResult = okHttpDto.getResponseBody();
String sendResult = esb2FeishuSendTodoUtil.doPostSendMessage(bodyJson.toJSONString(), token);
if (StringUtils.isNotBlank(sendResult)) {
JSONObject returnData = JSONObject.parseObject(sendResult);
if (returnData.containsKey("code")) {