|
@@ -240,7 +240,7 @@ public class OssConsoleClient {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public String getSignedUrlByUrl(int channelCode, String objectUrl) throws Exception {
|
|
public String getSignedUrlByUrl(int channelCode, String objectUrl) throws Exception {
|
|
|
- String api = String.format("%s/bg/api/oss/object/sigend_url?channelCode=%s&objectUrl=%s", endpoint, channelCode, objectUrl);
|
|
|
|
|
|
|
+ String api = String.format("%s/bg/api/oss/object/signed_url?channelCode=%s&objectUrl=%s", endpoint, channelCode, objectUrl);
|
|
|
HttpRequest httpRequest = HttpRequest.newBuilder(new URI(api))
|
|
HttpRequest httpRequest = HttpRequest.newBuilder(new URI(api))
|
|
|
.header("authorization", "Bearer " + token)
|
|
.header("authorization", "Bearer " + token)
|
|
|
.version(HttpClient.Version.HTTP_1_1)
|
|
.version(HttpClient.Version.HTTP_1_1)
|