|
@@ -2869,12 +2869,15 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
param.put("advertiser_id", accountId);
|
|
param.put("advertiser_id", accountId);
|
|
param.put("page", page);
|
|
param.put("page", page);
|
|
param.put("page_size", 200);
|
|
param.put("page_size", 200);
|
|
- if (!Check.isNull(startDate) && !Check.isNull(startDate)) {
|
|
|
|
|
|
+ if (!Check.isNull(startDate) && !Check.isNull(endDate)) {
|
|
param.put("start_date", startDate);
|
|
param.put("start_date", startDate);
|
|
param.put("end_date", endDate);
|
|
param.put("end_date", endDate);
|
|
}
|
|
}
|
|
|
|
+ System.err.println("入参:"+param);
|
|
|
|
+ System.err.println("headers:"+headers);
|
|
String result = HttpUtils.httpPostRequest(url, param, headers);
|
|
String result = HttpUtils.httpPostRequest(url, param, headers);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
|
|
+ System.err.println(resultJson);
|
|
Integer code = resultJson.getInteger("code");
|
|
Integer code = resultJson.getInteger("code");
|
|
String message = resultJson.getString("message");
|
|
String message = resultJson.getString("message");
|
|
if (null == code || code != 0) {
|
|
if (null == code || code != 0) {
|