fix(测试跟踪): 需求查询时间过长

--bug=1010280 --user=李玉号 点击关联需求响应时间过长
https://www.tapd.cn/55049933/s/1177728
This commit is contained in:
shiziyuan9527 2022-06-09 15:35:04 +08:00 committed by jianxing
parent 502868e406
commit 7d516ff0e2
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class TapdClient extends BaseClient {
}
public JSONArray getDemands(String projectId) {
String url = getBaseUrl() + "/stories?workspace_id={1}&limit=200";
String url = getBaseUrl() + "/stories?workspace_id={1}&limit=200&fields=id,name";
ResponseEntity<String> response = restTemplate.exchange(url, HttpMethod.GET, getAuthHttpEntity(), String.class, projectId);
return JSONArray.parseObject(response.getBody()).getJSONArray("data");
}