|
@@ -390,8 +390,14 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
headers.put("Content-Type", "application/json");
|
|
headers.put("Content-Type", "application/json");
|
|
headers.put("Access-Token", accessToken);
|
|
headers.put("Access-Token", accessToken);
|
|
Map<String, Object> param = new HashMap<String, Object>();
|
|
Map<String, Object> param = new HashMap<String, Object>();
|
|
- param.put("start_date", startDate);
|
|
|
|
- param.put("end_date", endDate);
|
|
|
|
|
|
+ if (!Check.isNull(startDate)) {
|
|
|
|
+ param.put("start_date", startDate);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (!Check.isNull(endDate)) {
|
|
|
|
+ param.put("end_date", endDate);
|
|
|
|
+ }
|
|
|
|
+
|
|
param.put("advertiser_id", advertiserId);
|
|
param.put("advertiser_id", advertiserId);
|
|
param.put("temporal_granularity", "DAILY");
|
|
param.put("temporal_granularity", "DAILY");
|
|
param.put("page_size", pageSize);
|
|
param.put("page_size", pageSize);
|