Iwan Lebron
2024-07-31 82684373ecca37044b24f643b22080dac99850fd
src/main/java/com/genersoft/iot/vmp/vmanager/log/LogController.java
@@ -2,6 +2,7 @@
import com.genersoft.iot.vmp.conf.UserSetting;
import com.genersoft.iot.vmp.conf.exception.ControllerException;
import com.genersoft.iot.vmp.conf.redis.RedisRpcConfig;
import com.genersoft.iot.vmp.conf.security.JwtUtils;
import com.genersoft.iot.vmp.service.ILogService;
import com.genersoft.iot.vmp.storager.dao.dto.LogDto;
@@ -92,4 +93,14 @@
        logService.clear();
    }
    @Autowired
    private RedisRpcConfig redisRpcConfig;
    @GetMapping("/test/count")
    public Object count() {
        return redisRpcConfig.getCallbackCount();
    }
}