|
@@ -57,7 +57,14 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
|
|
|
params.put("timeType", 1);
|
|
|
Map<String, String> headers = new HashMap<>();
|
|
|
headers.put("Cookie", cookie);
|
|
|
-
|
|
|
+ headers.put("Accept", "application/json");
|
|
|
+ headers.put("Accept-Encoding", "gzip, deflate, br");
|
|
|
+ headers.put("Accept-Language", "gzip, deflate, br");
|
|
|
+ headers.put("Connection", "keep-alive");
|
|
|
+ headers.put("Host", "cps.kwaixiaodian.com");
|
|
|
+ headers.put("kpf", "PC_WEB");
|
|
|
+ headers.put("Referer", "https://cps.kwaixiaodian.com/pc/leader/base/order-manage");
|
|
|
+ headers.put("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0");
|
|
|
String resultStr = HttpUtils.KuaiShouttpGetRequest(url, params, headers);
|
|
|
JSONObject result = JSONObject.parseObject(resultStr);
|
|
|
if (Check.isNull(result)) {
|