提交 10bf5aef authored 作者: inroi's avatar inroi

完成代码

上级 97d4da81
......@@ -42,7 +42,7 @@ public class LogAop {
//先执行业务
Object result = point.proceed();
try {
handle(point, result);
//handle(point, result);
} catch (Exception e) {
log.error("日志记录错误!", e);
}
......
......@@ -10,6 +10,9 @@ import com.shr.transfer.task.ToDoTaskListInVo;
import com.shr.transfer.task.ToDoTaskListOutVo;
import com.shr.utils.HttpClientUtil;
import com.shr.utils.JsonUtil;
import cn.hutool.core.lang.Console;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
......@@ -83,7 +86,10 @@ public class ToDoTaskServiceImpl implements IToDoTaskService {
reqeust.put("appParam", "");
tempList.add(reqeust);
}
String result = HttpClientUtil.sendPost(url + "/seeyon/rest/thirdpartyPending/receive?token=" + temp.get("id"), JsonUtil.toString(tempList));
String para = JsonUtil.toString(tempList);
Console.log("para:" + para);
String result = HttpClientUtil.sendPost(url + "/seeyon/rest/thirdpartyPending/receive?token=" + temp.get("id"), para);
System.out.println("---------------->" + result);
Map<String, Object> map = JsonUtil.toMap(result, String.class, Object.class);
if (CollectionUtils.isEmpty(map)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论