mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-04 11:37:28 +00:00
fix 修复 导入oss方法命名不规范导致的问题
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user