Search in sources :

Example 6 with EcLogDTO

use of com.easy.cloud.core.common.log.pojo.dto.EcLogDTO in project dq-easy-cloud by dq-open-cloud.

the class TestRedisService method queryEcLogDTO.

// @EcRedisAnnotation(actionType = EcRedisActionType.QUERY, proxyClass = EcRedisDemoProxy.class)
public EcLogDTO queryEcLogDTO(String id) {
    EcLogDTO logDTO = new EcLogDTO();
    logDTO.setRequestPath("查询的测试的path");
    logDTO = testRedisDAO.queryRequestPath(id);
    EcLogUtils.info("查询数据洛", logDTO, logger);
    return logDTO;
}
Also used : EcLogDTO(com.easy.cloud.core.common.log.pojo.dto.EcLogDTO)

Aggregations

EcLogDTO (com.easy.cloud.core.common.log.pojo.dto.EcLogDTO)6 EcRedisAnnotation (com.easy.cloud.core.cache.redis.annotation.EcRedisAnnotation)2 EcBaseBusinessException (com.easy.cloud.core.exception.bo.EcBaseBusinessException)1