fix 修复 导入oss方法命名不规范导致的问题
parent
9baec3dd73
commit
9a90030956
|
|
@ -17,10 +17,10 @@ import org.apache.dubbo.config.annotation.DubboReference;
|
||||||
public class OssUrlTranslationImpl implements TranslationInterface<String> {
|
public class OssUrlTranslationImpl implements TranslationInterface<String> {
|
||||||
|
|
||||||
@DubboReference(mock = "true")
|
@DubboReference(mock = "true")
|
||||||
private RemoteFileService ossService;
|
private RemoteFileService remoteFileService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String translation(Object key, String other) {
|
public String translation(Object key, String other) {
|
||||||
return ossService.selectUrlByIds(key.toString());
|
return remoteFileService.selectUrlByIds(key.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue