|
|
@ -137,7 +137,7 @@ public class DownloadUtils { |
|
|
|
FineLoggerFactory.getLogger().info("start download widget {}", id); |
|
|
|
FineLoggerFactory.getLogger().info("start download widget {}", id); |
|
|
|
HttpUriRequest file = RequestBuilder.post() |
|
|
|
HttpUriRequest file = RequestBuilder.post() |
|
|
|
.setHeader("User-Agent", "Mozilla/5.0") |
|
|
|
.setHeader("User-Agent", "Mozilla/5.0") |
|
|
|
.setUri(url).addParameter("id", encrypt(id)).addParameter("username", |
|
|
|
.setUri(url).addParameter("id", encrypt(id)).addParameter("userId", |
|
|
|
DesignerEnvManager.getEnvManager().getDesignerLoginUsername() ) |
|
|
|
DesignerEnvManager.getEnvManager().getDesignerLoginUsername() ) |
|
|
|
.build(); |
|
|
|
.build(); |
|
|
|
return client.execute(file); |
|
|
|
return client.execute(file); |
|
|
|