|
@@ -65,13 +65,13 @@ public class AiKuaishouAccountAutoTargetController {
|
|
|
*/
|
|
|
@ApiOperation(value = "自动投放重构-本地定向表-分页列表查询", notes = "自动投放重构-本地定向表-分页列表查询")
|
|
|
@GetMapping(value = "/list")
|
|
|
- public Result<Object> queryPageList(Long accountId, String targetName, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
|
|
+ public Result<Object> queryPageList(Long accountId, String targetName,Integer platformOs, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) {
|
|
|
try {
|
|
|
- if (Check.isNull(accountId)) {
|
|
|
- return Result.error("请选择账户");
|
|
|
+ if (Check.isNull(accountId)||Check.isNull(platformOs)) {
|
|
|
+ return Result.error("缺少参数");
|
|
|
}
|
|
|
- return aiKuaishouAccountAutoTargetService.queryPageList(accountId, targetName, pageNo, pageSize);
|
|
|
+ return aiKuaishouAccountAutoTargetService.queryPageList(accountId, targetName,platformOs, pageNo, pageSize);
|
|
|
} catch (Exception e) {
|
|
|
log.error("查询异常,", e.getMessage());
|
|
|
e.printStackTrace();
|