feat():增加ip轮询
parent
e990dd304f
commit
26e1591f43
|
@ -255,4 +255,14 @@ public class RedisService {
|
||||||
public Collection<String> keys (final String pattern) {
|
public Collection<String> keys (final String pattern) {
|
||||||
return redisTemplate.keys(pattern);
|
return redisTemplate.keys(pattern);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// /**
|
||||||
|
// * 获取使用的对象的次数
|
||||||
|
// * @param key Redis键
|
||||||
|
// * @param hKey Hash键
|
||||||
|
// */
|
||||||
|
// public void getNumber (final String key, final String hKey){
|
||||||
|
// Object o = redisTemplate.opsForHash().get(key, hKey);
|
||||||
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
<module>cloud-common-rabbit</module>
|
<module>cloud-common-rabbit</module>
|
||||||
<module>cloud-common-saas</module>
|
<module>cloud-common-saas</module>
|
||||||
<module>cloud-common-wechat</module>
|
<module>cloud-common-wechat</module>
|
||||||
|
<module>cloud-common-cache</module>
|
||||||
|
<module>cloud-common-kafka</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<artifactId>cloud-common</artifactId>
|
<artifactId>cloud-common</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue