mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-23 19:08:35 +08:00
fix 修复上传头像报错未抛出问题 显示声明接口异常 以便dubbo抛出
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.ruoyi.resource.api;
|
||||
|
||||
import com.ruoyi.common.core.exception.ServiceException;
|
||||
import com.ruoyi.resource.api.domain.SysFile;
|
||||
|
||||
/**
|
||||
@@ -15,5 +16,5 @@ public interface RemoteFileService {
|
||||
* @param file 文件信息
|
||||
* @return 结果
|
||||
*/
|
||||
SysFile upload(String name, String originalFilename, String contentType, byte[] file);
|
||||
SysFile upload(String name, String originalFilename, String contentType, byte[] file) throws ServiceException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user