Commit 7b7eb26712efcf92c625772ac461a80d1273fe58

Authored by 王言钊
1 parent ccf9fcf3

添加易盾云中添加操作的日志打印

src/main/java/com/cnlive/shenhe/serviceImpl/YiDunServiceImpl.java
1 1 package com.cnlive.shenhe.serviceImpl;
2 2  
  3 +import com.alibaba.fastjson.JSON;
3 4 import com.cnlive.shenhe.entity.ShyYidun;
4 5 import com.cnlive.shenhe.mapper.ShyYidunMapper;
5 6 import com.cnlive.shenhe.utils.CommonUtils;
... ... @@ -24,6 +25,7 @@ public class YiDunServiceImpl {
24 25 ShyYidunMapper shyYidunMapper;
25 26  
26 27 public boolean addYiDunMsg(ShyYidun shyYidun) {
  28 + logger.info("URL:{}", JSON.toJSONString(shyYidun.getUrl()));
27 29 int result = shyYidunMapper.insert(shyYidun);
28 30 if (result == 0) {
29 31 return false;
... ...