|
@@ -101,6 +101,7 @@ public class TestController {
|
|
|
|
|
|
@GetMapping("getKuaishouPlanHourlyReport")
|
|
@GetMapping("getKuaishouPlanHourlyReport")
|
|
public Map<String,Object> getKuaishouPlanHourlyReport(String params){
|
|
public Map<String,Object> getKuaishouPlanHourlyReport(String params){
|
|
|
|
+ Long start = System.currentTimeMillis();
|
|
Map<String,Object>result = new HashMap<>();
|
|
Map<String,Object>result = new HashMap<>();
|
|
if(null == params||params.trim().equals("")){
|
|
if(null == params||params.trim().equals("")){
|
|
ResultMapUtils.setResultMap(result,StatusCode.COMMON_PARAM_ERROR);
|
|
ResultMapUtils.setResultMap(result,StatusCode.COMMON_PARAM_ERROR);
|
|
@@ -126,6 +127,8 @@ public class TestController {
|
|
kuaishouInterfaceService.getAdvertiserCampaignReportHourly(token, finalGetDate, finalGetDate);
|
|
kuaishouInterfaceService.getAdvertiserCampaignReportHourly(token, finalGetDate, finalGetDate);
|
|
ResultMapUtils.setResultMap(result,StatusCode.COMMON_SUCCESS);
|
|
ResultMapUtils.setResultMap(result,StatusCode.COMMON_SUCCESS);
|
|
result.put("message","SUCCESS");
|
|
result.put("message","SUCCESS");
|
|
|
|
+ long end = System.currentTimeMillis();
|
|
|
|
+ log.info("执行时长:{}毫秒",end-start);
|
|
return result;
|
|
return result;
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|