|
@@ -27,7 +27,8 @@ public class AigcServiceImpl implements AigcService {
|
|
|
public List<LongArticleSystemPlan> getAllLongArticleSystemPlan() {
|
|
|
String apiUrl = "http://aigc-api.cybertogether.net/aigc/publish/LongArticleSystem/getAllLongArticleSystemPlan";
|
|
|
try {
|
|
|
- String res = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(apiUrl);
|
|
|
+ HttpPoolClientUtil httpPoolClientUtil = HttpClientUtil.create(5000, 20000, 5, 10, 3, 3000);
|
|
|
+ String res = httpPoolClientUtil.post(apiUrl);
|
|
|
JSONObject jsonObject = JSON.parseObject(res);
|
|
|
Integer code = jsonObject.getInteger("code");
|
|
|
if (code == 0) {
|