@Configuration
public interface IAbstractConvertStrategy {
CacheService getCacheService();
default boolean existedMedia(String uuid)
{
//重复的解析请求,丢弃
return getCacheService().hasKey(uuid);
}
static void staticMethod() {
}
}
微信扫一扫
@Configuration
public interface IAbstractConvertStrategy {
CacheService getCacheService();
default boolean existedMedia(String uuid)
{
//重复的解析请求,丢弃
return getCacheService().hasKey(uuid);
}
static void staticMethod() {
}
}
相关推荐