mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
5.0
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user