|
|
@ -13,6 +13,7 @@ import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import org.apache.logging.log4j.util.Strings;
|
|
|
|
import org.apache.logging.log4j.util.Strings;
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
@ -31,6 +32,7 @@ import java.util.*;
|
|
|
|
@Api(tags = "redis信息")
|
|
|
|
@Api(tags = "redis信息")
|
|
|
|
@RestController
|
|
|
|
@RestController
|
|
|
|
@RequestMapping(PlatformConstWords.BASE_URL + "/redis")
|
|
|
|
@RequestMapping(PlatformConstWords.BASE_URL + "/redis")
|
|
|
|
|
|
|
|
@ConditionalOnExpression("'${impp.redis.info.controller:false}' == 'true'")
|
|
|
|
public class RedisInfoController {
|
|
|
|
public class RedisInfoController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* redis db0 resource
|
|
|
|
* redis db0 resource
|
|
|
|