Browse Source

素材维度投放数据展示,注释和错误日志修改

huangxuechao 4 năm trước cách đây
mục cha
commit
bf0f0198f4

+ 1 - 1
jeecg-boot-bytedance/src/main/java/org/jeecg/modules/bytedance/report/service/impl/BytedanceReportMaterialDailyServiceImpl.java

@@ -67,6 +67,6 @@ public class BytedanceReportMaterialDailyServiceImpl extends ServiceImpl<Bytedan
 
         PageInfo<Map<String, Object>> pageInfo = new PageInfo<Map<String, Object>>(dailyReportList);
 
-        return Result.successMsg("数据加载成功。",dailyReportList);
+        return Result.successMsg("数据加载成功。",pageInfo);
     }
 }

+ 2 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/bytedance/advertise/controller/BytedanceReportController.java

@@ -191,7 +191,7 @@ public class BytedanceReportController {
 
 
 
-	@ApiOperation(value="投放数据-更新计划定向包", notes="投放数据-更新计划定向包")
+	@ApiOperation(value="投放数据-素材维度展示", notes="投放数据-素材维度展示")
 	@GetMapping(value = "/selectMaterialDailyReport")
 	public Result selectMaterialDailyReport(@RequestParam("accountId") String accountId,
 					@RequestParam("startTime") String startTime,
@@ -201,7 +201,7 @@ public class BytedanceReportController {
 		try {
 			return bytedanceReportMaterialDailyService.getMaterialDailyReportByAccountId(accountId,startTime,endTime,pageNum,pageSize);
 		}catch (Exception e){
-			log.error("投放数据-获取花费和环比异常",e);
+			log.error("投放数据-获取素材维度报表数据异常",e);
 			return Result.error("请求失败,请联系开发人员!");
 		}
 	}