This commit is contained in:
六如
2024-09-19 20:51:14 +08:00
parent 89ce369c8f
commit 00da3cc0a9

View File

@@ -37,7 +37,7 @@ public class RedisApiManagerImpl extends LocalApiManagerImpl {
@Override @Override
public ApiInfoDTO get(String apiName, String apiVersion) { public ApiInfoDTO get(String apiName, String apiVersion) {
String key = apiName + apiName; String key = apiName + apiVersion;
try { try {
Object value = stringRedisTemplate.opsForHash().get(KEY_API, key); Object value = stringRedisTemplate.opsForHash().get(KEY_API, key);
if (value == null) { if (value == null) {