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

2.X
疯狂的狮子Li 2024-06-15 16:49:01 +08:00
parent 9baec3dd73
commit 9a90030956
1 changed files with 2 additions and 2 deletions

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