diff --git a/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/OssUrlTranslationImpl.java b/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/OssUrlTranslationImpl.java index b9fe8392..959b922c 100644 --- a/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/OssUrlTranslationImpl.java +++ b/ruoyi-common/ruoyi-common-translation/src/main/java/org/dromara/common/translation/core/impl/OssUrlTranslationImpl.java @@ -17,10 +17,10 @@ import org.apache.dubbo.config.annotation.DubboReference; public class OssUrlTranslationImpl implements TranslationInterface { @DubboReference(mock = "true") - private RemoteFileService ossService; + private RemoteFileService remoteFileService; @Override public String translation(Object key, String other) { - return ossService.selectUrlByIds(key.toString()); + return remoteFileService.selectUrlByIds(key.toString()); } }