getPresignedUploadUrl公开
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user