添加SDK上传功能

This commit is contained in:
heavyrian2012
2026-03-11 16:11:13 +08:00
parent 6626237c80
commit 92471db413
9 changed files with 1022 additions and 0 deletions
@@ -127,6 +127,8 @@ public interface APIPath {
String Get_User_Files = "/admin/file/user_files";
String Get_Message_File = "/admin/file/message_file";
String Get_Presigned_Upload_Url = "/admin/oss/get_upload_url";
String Conference_List = "/admin/conference/list";
String Conference_Exist = "/admin/conference/exist";
String Conference_List_Participant = "/admin/conference/list_participant";
@@ -188,4 +190,6 @@ public interface APIPath {
String Robot_Moments_Update_Profiles_Value = "/robot/moments/profiles/value/push";
String Robot_Conference_Request = "/robot/conference/request";
String Robot_Get_Presigned_Upload_Url = "/robot/oss/get_upload_url";
}
@@ -0,0 +1,27 @@
/*
* This file is part of the Wildfire Chat package.
* (c) Heavyrain2012 <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package cn.wildfirechat.pojos;
/**
* 请求预签名上传地址
* <p>
* 请求封装预签名上传地址,包括:
* <ul>
* <li>文件名</li>
* <li>文件类型</li>
* <li>媒体类型</li>
* </ul>
* </p>
*/
public class InputGetPresignedUploadUrl {
public String fileName;
public String contentType;
public int mediaType;
}
@@ -0,0 +1,29 @@
/*
* This file is part of the Wildfire Chat package.
* (c) Heavyrain2012 <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package cn.wildfirechat.pojos;
/**
* 预签名上传地址
* <p>
* 封装预签名上传地址,包括:
* <ul>
* <li>上传地址</li>
* <li>备选上传地址</li>
* <li>下载地址</li>
* <li>类型</li>
* </ul>
* </p>
*/
public class OutputPresignedUploadUrl {
public String uploadUrl;
public String backupUploadUrl;
public String downloadUrl;
public int type;
}