use of com.easy.cloud.core.cache.redis.annotation.EcRedisAnnotation in project dq-easy-cloud by dq-open-cloud.
the class TestRedisService method updateEcLogDTO.
@EcRedisAnnotation(actionType = EcRedisActionType.UPDATE, proxyClass = EcRedisDemoProxy.class)
public EcLogDTO updateEcLogDTO(String id) {
EcLogDTO logDTO = new EcLogDTO();
logDTO.setRequestPath("更新的path");
EcLogUtils.info("更新数据洛", logDTO, logger);
return logDTO;
}
use of com.easy.cloud.core.cache.redis.annotation.EcRedisAnnotation in project dq-easy-cloud by dq-open-cloud.
the class TestRedisService method saveEcLogDTO.
@EcRedisAnnotation(actionType = EcRedisActionType.SAVE, proxyClass = EcRedisDemoProxy.class)
public EcLogDTO saveEcLogDTO(String id) {
EcLogDTO logDTO = new EcLogDTO();
logDTO.setRequestPath("测试的path");
EcLogUtils.info("保存数据洛", logDTO, logger);
return logDTO;
}
Aggregations