|
@@ -37,7 +37,7 @@ public class PlanController {
|
|
|
return R.fail("失败");
|
|
|
}
|
|
|
// 查询广告计划列表
|
|
|
- @GetMapping("/list")
|
|
|
+ @PostMapping("/list")
|
|
|
public R planList(@RequestBody PlanBo bo){
|
|
|
PageInfo<List<PlanListVo>> planList = planService.getPlanList(bo);
|
|
|
return R.ok(planList);
|
|
@@ -81,7 +81,7 @@ public class PlanController {
|
|
|
return R.ok(vos);
|
|
|
}
|
|
|
// 查询广告计划管理列表
|
|
|
- @GetMapping("/audit/list")
|
|
|
+ @PostMapping("/audit/list")
|
|
|
public R auditList(@RequestBody PlanBo bo){
|
|
|
PageInfo<List<PlanManageListVo>> list = planService.getPlanManageList(bo);
|
|
|
return R.ok(list);
|
|
@@ -93,6 +93,11 @@ public class PlanController {
|
|
|
}
|
|
|
|
|
|
// 广告推送
|
|
|
+ // 获取sign——用于测试
|
|
|
+ @PostMapping("/getSign")
|
|
|
+ public R getSign(@RequestBody PlanAddBo bo){
|
|
|
+ return R.ok(planService.getSign(bo));
|
|
|
+ }
|
|
|
// 添加广告推送计划
|
|
|
@PostMapping()
|
|
|
public R addPlan(@RequestBody PlanAddBo bo){
|
|
@@ -114,15 +119,16 @@ public class PlanController {
|
|
|
return R.fail("删除失败");
|
|
|
}
|
|
|
// 查询广告计划推送计划列表
|
|
|
- @GetMapping("/push/list")
|
|
|
+ @PostMapping("/push/list")
|
|
|
public R pushList(@RequestBody PlanBo bo){
|
|
|
PageInfo<List<PlanPushListVo>> list = planService.getPlanPushList(bo);
|
|
|
return R.ok(list);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
// 广告投放
|
|
|
// 广告投放列表
|
|
|
- @GetMapping("/statistics/list")
|
|
|
+ @PostMapping("/statistics/list")
|
|
|
public R statisticsList(@RequestBody PlanBo bo){
|
|
|
PageInfo<List<PlanPushStatisticsListVo>> list = planService.getPlanPushStatisticsList(bo);
|
|
|
return R.ok(list);
|
|
@@ -137,7 +143,7 @@ public class PlanController {
|
|
|
|
|
|
// 其他
|
|
|
// 获取设备信息
|
|
|
- @GetMapping("/getEquipments")
|
|
|
+ @PostMapping("/getEquipments")
|
|
|
public R getEquipments(@RequestBody PlanBo bo){
|
|
|
return R.ok(planService.getEquipments(bo));
|
|
|
}
|