Commit 64a38b43 authored by 徐州's avatar 徐州

修改接口定时任务接口超时时间

parent b913bc74
......@@ -1214,12 +1214,13 @@ public class StaffDuty implements IStaffDuty {
if (redisUtils.hasKey("active:done:" + activeId)) {
redisUtils.deleteByKeyNew("active:done:" + activeId);
}
List<NameValuePair> pairList = new ArrayList<>();
wrapNameValuePairList(pairList, entity);
pairList.add(new BasicNameValuePair("page", "1"));
pairList.add(new BasicNameValuePair("limit", "1000"));
pairList.add(new BasicNameValuePair("city", city));
String result = HttpClientUtil.doGet(crmQueryUrl, pairList, 60000, "utf-8");
String result = HttpClientUtil.doGet(crmQueryUrl, pairList, 300000, "utf-8");
String url = crmQueryUrl + "?";
List<String> params = new ArrayList<>();
pairList.forEach(p -> params.add(p.getName() + "=" + p.getValue()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment