|
@@ -740,7 +740,7 @@ public class ImageClassificationFileController extends BladeController {
|
|
|
* @throws IOException
|
|
|
*/
|
|
|
public long getResourceLength(String urlStr) throws IOException {
|
|
|
- //urlStr = replaceOssUrl(urlStr);
|
|
|
+ urlStr = replaceOssUrl(urlStr);
|
|
|
URL url = new URL(urlStr);
|
|
|
URLConnection urlConnection = url.openConnection();
|
|
|
urlConnection.connect();
|