getPresignedUploadUrl公开

This commit is contained in:
heavyrian2012
2026-03-11 16:15:47 +08:00
parent 92471db413
commit 6537b7e009
3 changed files with 8 additions and 2 deletions
@@ -274,7 +274,7 @@ public class GeneralAdmin {
return AdminHttpUtils.httpJsonPost(APIPath.GET_CUSTOMER, null, String.class);
}
private static IMResult<OutputPresignedUploadUrl> getPresignedUploadUrl(String fileName, int/*ProtoConstants.MessageMediaType*/ mediaType, String contentType) throws Exception {
public static IMResult<OutputPresignedUploadUrl> getPresignedUploadUrl(String fileName, int/*ProtoConstants.MessageMediaType*/ mediaType, String contentType) throws Exception {
String path = APIPath.Get_Presigned_Upload_Url;
InputGetPresignedUploadUrl requestPojo = new InputGetPresignedUploadUrl();
@@ -493,7 +493,7 @@ public class RobotService implements Closeable {
return robotHttpUtils.httpJsonPost(path, requestPojo, Void.class);
}
private IMResult<OutputPresignedUploadUrl> getPresignedUploadUrl(String fileName, int/*ProtoConstants.MessageMediaType*/ mediaType, String contentType) throws Exception {
public IMResult<OutputPresignedUploadUrl> getPresignedUploadUrl(String fileName, int/*ProtoConstants.MessageMediaType*/ mediaType, String contentType) throws Exception {
String path = APIPath.Robot_Get_Presigned_Upload_Url;
InputGetPresignedUploadUrl requestPojo = new InputGetPresignedUploadUrl();