|
@@ -67,8 +67,9 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
|
|
|
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");*/
|
|
|
+ log.info("骄阳分销数据入参:{}", params);
|
|
|
String resultStr = HttpUtils.KuaiShouttpGetRequest(url, params, headers);
|
|
|
- log.info("爬虫数据返回:{}", resultStr);
|
|
|
+
|
|
|
JSONObject result = JSONObject.parseObject(resultStr);
|
|
|
if (Check.isNull(result)) {
|
|
|
log.error("骄阳分销数据返回为空");
|