Explorar el Código

update oss-api

reghao hace 7 meses
padre
commit
3a15f36cc0

+ 9 - 2
oss-api/src/main/java/cn/reghao/oss/api/iface/ConsoleService.java

@@ -6,8 +6,9 @@ import cn.reghao.oss.sdk.model.dto.ServerInfo;
 import cn.reghao.oss.api.dto.StoreNodeDto;
 import cn.reghao.oss.api.dto.StoreNodeDto;
 
 
 /**
 /**
- * 获取 StoreNode 配置
+ * 获取由 oss-console 管理的 StoreNode 配置
  * 由 oss-console 实现, oss-store 调用
  * 由 oss-console 实现, oss-store 调用
+ *
  * @author reghao
  * @author reghao
  * @date 2024-07-02 10:55:56
  * @date 2024-07-02 10:55:56
  */
  */
@@ -16,6 +17,12 @@ public interface ConsoleService {
     NodeProperties getNodeProperties(String domain);
     NodeProperties getNodeProperties(String domain);
     ObjectChannel getChannelByCode(int owner, int channelCode);
     ObjectChannel getChannelByCode(int owner, int channelCode);
     Integer getChannelCodeByUrl(int owner, String url);
     Integer getChannelCodeByUrl(int owner, String url);
+    /**
+     * 本方法由 oss-console 本地调用, oss-store 不会使用
+     *
+     * @param
+     * @return
+     * @date 2025-08-16 23:08:330
+     */
     ServerInfo getUploadStore(int channelCode);
     ServerInfo getUploadStore(int channelCode);
-    ServerInfo getUploadStore(int channelCode, int owner);
 }
 }