Browse Source

platform 测试 slf4j

by su 3 years ago
parent
commit
c0113b4d49

+ 3 - 0
4dkankan-center-platform/src/main/java/com/fdkankan/platform/agent/service/impl/AgentAuditServiceImpl.java

@@ -15,6 +15,7 @@ import com.fdkankan.common.constant.ErrorCode;
 import com.fdkankan.common.constant.ServerCode;
 import com.fdkankan.common.exception.BusinessException;
 import com.fdkankan.common.validation.ValidationUtils;
+import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.BeanUtils;
 import org.springframework.stereotype.Service;
@@ -30,6 +31,7 @@ import java.util.stream.Collectors;
  * @author 
  * @since 2021-12-24
  */
+@Slf4j
 @Service
 public class AgentAuditServiceImpl extends ServiceImpl<IAgentAuditMapper, AgentAudit> implements IAgentAuditService {
 
@@ -57,6 +59,7 @@ public class AgentAuditServiceImpl extends ServiceImpl<IAgentAuditMapper, AgentA
 
     @Override
     public Page<AgentAudit> getPageList(Integer pageNum, Integer pageSize) {
+        log.info("123123123123123123");
         QueryWrapper<AgentAudit> queryWrapper = new QueryWrapper<>();
         queryWrapper.lambda().orderByDesc(AgentAudit::getCreateTime);
         Page<AgentAudit> page = new Page<>();