|
|
@@ -300,7 +300,7 @@ public class OssConsoleClient {
|
|
|
}
|
|
|
|
|
|
public ImageInfo getImageInfo(int channelId, String objectId) throws Exception {
|
|
|
- String api = String.format("%s/api/oss/object/video/image?channelId=%s&objectId=%s", endpoint, channelId, objectId);
|
|
|
+ String api = String.format("%s/api/oss/object/image?channelId=%s&objectId=%s", endpoint, channelId, objectId);
|
|
|
HttpRequest httpRequest = HttpRequest.newBuilder(new URI(api))
|
|
|
.header("authorization", "Bearer " + token)
|
|
|
.headers("content-type", "application/x-www-form-urlencoded")
|