|
@@ -74,7 +74,7 @@ public class UploadController {
|
|
new Thread(futureTask).start();
|
|
new Thread(futureTask).start();
|
|
if (!futureTask.isDone())
|
|
if (!futureTask.isDone())
|
|
log.info("task has not finished!");
|
|
log.info("task has not finished!");
|
|
- String url = futureTask.get();
|
|
|
|
|
|
+ String url = futureTask.get().replace("-internal", "");
|
|
log.info("upload file complete, file URL: {}", url);
|
|
log.info("upload file complete, file URL: {}", url);
|
|
return RestResponse.success(url);
|
|
return RestResponse.success(url);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|