|
|
@@ -228,7 +228,7 @@ public class SysConfigController {
|
|
|
String key = RedisKey.SERVICE_INDEX_KEY;
|
|
|
Long index = redisService.incr(key, 1l);
|
|
|
if (index == 10) {
|
|
|
- redisService.set(key, 1);
|
|
|
+ redisService.set(key, 0);
|
|
|
}
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(index - 1);
|
|
|
}
|