Commit 7b7eb26712efcf92c625772ac461a80d1273fe58

Authored by 王言钊
1 parent ccf9fcf3

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

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