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

This commit is contained in:
疯狂的狮子Li
2024-06-15 16:49:01 +08:00
parent 9baec3dd73
commit 9a90030956

View File

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