1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package com.huaheng.common.redis.serviceimpl; import org.springframework.stereotype.Service; @Service public class RedisServiceImpl extends IRedisService<RedisModel> { private static final String REDIS_KEY = "TEST_REDIS_KEY"; @Override protected String getRedisKey() { return this.REDIS_KEY; } }