liulin
2024-11-24 1e3764d82bd9b77a89a7fb88d60dd411ecd4f11b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.lunhan.xxx.common.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
@Component
@ConfigurationProperties(prefix = "spring.redis")
public class RedisConfig {
    private String keyPrefix;
 
    public String getKeyPrefix() {
        return keyPrefix;
    }
 
    public void setKeyPrefix(String keyPrefix) {
        this.keyPrefix = keyPrefix;
    }
}