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
+6
View File
@@ -68,6 +68,12 @@
<version>4.5.13</version> <version>4.5.13</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.5.13</version>
</dependency>
<dependency> <dependency>
<groupId>commons-codec</groupId> <groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId> <artifactId>commons-codec</artifactId>
@@ -274,7 +274,7 @@ public class GeneralAdmin {
return AdminHttpUtils.httpJsonPost(APIPath.GET_CUSTOMER, null, String.class); 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; String path = APIPath.Get_Presigned_Upload_Url;
InputGetPresignedUploadUrl requestPojo = new InputGetPresignedUploadUrl(); InputGetPresignedUploadUrl requestPojo = new InputGetPresignedUploadUrl();
@@ -493,7 +493,7 @@ public class RobotService implements Closeable {
return robotHttpUtils.httpJsonPost(path, requestPojo, Void.class); 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; String path = APIPath.Robot_Get_Presigned_Upload_Url;
InputGetPresignedUploadUrl requestPojo = new InputGetPresignedUploadUrl(); InputGetPresignedUploadUrl requestPojo = new InputGetPresignedUploadUrl();