update 重构 使用 Spring 简化 oss 模块代码

This commit is contained in:
疯狂的狮子li
2022-01-24 13:00:38 +08:00
parent d52ece745e
commit ad18449753
9 changed files with 69 additions and 63 deletions
@@ -1,6 +1,7 @@
package com.ruoyi.oss.service;
import com.ruoyi.oss.entity.UploadResult;
import com.ruoyi.oss.enumd.OssEnumd;
import java.io.InputStream;
@@ -15,8 +16,9 @@ public interface IOssStrategy {
/**
* 获取服务商类型
* @return
*/
String getServiceType();
OssEnumd getServiceType();
/**
* 文件上传