Ver código fonte

fix 修复 导入oss方法命名不规范导致的问题

疯狂的狮子Li 2 anos atrás
pai
commit
9a90030956

+ 2 - 2
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<String> {
 
     @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());
     }
 }