Browse Source

代码修改

zheng-1641779399395
kerry 3 years ago
parent
commit
cc792aae6b
  1. 2
      designer-form/src/main/java/com/fr/design/mainframe/share/util/DownloadUtils.java

2
designer-form/src/main/java/com/fr/design/mainframe/share/util/DownloadUtils.java

@ -137,7 +137,7 @@ public class DownloadUtils {
FineLoggerFactory.getLogger().info("start download widget {}", id);
HttpUriRequest file = RequestBuilder.post()
.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() )
.build();
return client.execute(file);

Loading…
Cancel
Save