longhu пре 2 дана
родитељ
комит
3cc345ac4e

+ 2 - 0
src/main/java/com/hr/controller/AggregateController.java

@@ -48,6 +48,7 @@ public class AggregateController {
         String accountNo = req.getAccountNo();
         String interfaceCode = req.getInterfaceCode();
         IpAccountVO ipAccount = ipAccountService.queryByAccountNo(accountNo);
+        log.info("ipAccount:{},{}", accountNo, ipAccount);
         if(ipAccount == null){
             return Mono.just(BaseReturnDto.error("账户不存在"));
         }
@@ -55,6 +56,7 @@ public class AggregateController {
             return Mono.just(BaseReturnDto.error("账户已禁用"));
         }
         IpInterfaceVO ipInterfaceVO = ipInterfaceService.queryByInterfaceCode(interfaceCode);
+        log.info("ipInterfaceVO:{},{}", interfaceCode, ipInterfaceVO);
         if(ipInterfaceVO == null){
             return Mono.just(BaseReturnDto.error("接口不存在"));
         }

+ 1 - 0
src/main/java/com/hr/externelSystem/BizHandlerFactory.java

@@ -50,6 +50,7 @@ public class BizHandlerFactory {
      */
     public BaseReturnDto<Object> dispatch(AggregateRequest req, AggregateQueryDTO dto) {
         IpInterfacePO ipInterfacePO = dto.getIpInterfacePO();
+        log.info("ipInterfacePO:{}",JSON.toJSONString(ipInterfacePO));
         BizHandler handler = getHandler(ipInterfacePO.getInterfaceNo());
         IpOrderPO ipOrderPO = new IpOrderPO();
         IpLogPO ipLogPO = new IpLogPO();

+ 3 - 0
src/main/java/com/hr/service/impl/IpTokenInterfaceServiceImpl.java

@@ -27,6 +27,7 @@ import com.yy.basedevelop.common.data.BasePageResult;
 import com.yy.basedevelop.common.util.ruoyi.utils.DateUtils;
 import com.yy.basedevelop.dto.LoginUser;
 import jakarta.persistence.criteria.Predicate;
+import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.BeanUtils;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -43,6 +44,7 @@ import java.util.stream.Collectors;
  * @author : http://www.yonsum.com
  * @date : 2025-10-10
  */
+@Slf4j
 @Service
 public class IpTokenInterfaceServiceImpl implements IpTokenInterfaceService {
     @Autowired
@@ -210,6 +212,7 @@ public class IpTokenInterfaceServiceImpl implements IpTokenInterfaceService {
             po.setStatus("normal");
             Example<IpTokenInterfacePO> example = Example.of(po, matcher);
             List<IpTokenInterfacePO> interfacePOList = ipTokenInterfaceRepository.findAll(example);
+            log.info("interfacePOList:{},{},{}",accountId,interfaceId,interfacePOList);
             if(!interfacePOList.isEmpty()){
                 IpTokenInterfacePO first = interfacePOList.getFirst();
                 Long tid = first.getTid();