@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() { } }