|
@@ -126,7 +126,8 @@ public class RWDDownloadUtil {
|
|
|
JSONObject param = new JSONObject();
|
|
|
JSONObject criteria = new JSONObject();
|
|
|
param.put("criteria", criteria);
|
|
|
- String post_result = HttpClientUtil.post(Constant.rwd_url + "rwd/def/class", param.toJSONString());
|
|
|
+ String post_result = HttpClientUtil.post(Constant.rwd_url + "rwd/def/class?projectId=" + RepositoryContainer.RepositoryBase.projectId
|
|
|
+ + "&groupCode=" + RepositoryContainer.RepositoryBase.groupCode, param.toJSONString());
|
|
|
JSONObject resultJSON = JSON.parseObject(post_result);
|
|
|
classArray = resultJSON.getJSONArray("data");
|
|
|
classArray = classArray == null ? new JSONArray() : classArray;
|
|
@@ -145,7 +146,8 @@ public class RWDDownloadUtil {
|
|
|
criteria.put("valid", 1);
|
|
|
param.put("criteria", criteria);
|
|
|
log.debug("Download info " + code);
|
|
|
- String post_result = HttpClientUtil.post(Constant.rwd_url + "rwd/def/funcid", param.toJSONString());
|
|
|
+ String post_result = HttpClientUtil.post(Constant.rwd_url + "rwd/def/funcid?projectId=" + RepositoryContainer.RepositoryBase.projectId
|
|
|
+ + "&groupCode=" + RepositoryContainer.RepositoryBase.groupCode, param.toJSONString());
|
|
|
JSONObject resultJSON = JSON.parseObject(post_result);
|
|
|
infoArray = resultJSON.getJSONArray("data");
|
|
|
}
|