跳到主內容

property use list

application.yml


redis:
  app:
    enable: true
    disableList: >
      kafkaController.test,
      RedisTestController.testUseRedis

test.kt

    @Value("\${redis.app.disableList:null}")
    private var redisDisableList: List<String>? = null