diff --git a/src/main/java/com/sqx/modules/artificer/controller/ArtificerController.java b/src/main/java/com/sqx/modules/artificer/controller/ArtificerController.java index 4e4b7d8..28e0f2c 100644 --- a/src/main/java/com/sqx/modules/artificer/controller/ArtificerController.java +++ b/src/main/java/com/sqx/modules/artificer/controller/ArtificerController.java @@ -117,9 +117,9 @@ public class ArtificerController { @ApiOperation("查询技师列表") public Result selectArtificerList(Integer page, Integer limit, Long massageTypeId, String artificerName, String longitude,String latitude,Integer sort,Integer authentication, - Integer by,String city,Long classifyId,String phone){ + Integer by,String city,Long classifyId,String phone,Integer isStart){ return artificerService.selectArtificerList(page, limit, massageTypeId, artificerName,longitude,latitude, - sort,authentication,by,null,city,classifyId,phone,null); + sort,authentication,by,null,city,classifyId,phone,null,isStart); } @GetMapping("/selectArtificer") diff --git a/src/main/java/com/sqx/modules/artificer/controller/app/AppArtificerController.java b/src/main/java/com/sqx/modules/artificer/controller/app/AppArtificerController.java index e07f8b6..d93c033 100644 --- a/src/main/java/com/sqx/modules/artificer/controller/app/AppArtificerController.java +++ b/src/main/java/com/sqx/modules/artificer/controller/app/AppArtificerController.java @@ -113,9 +113,9 @@ public class AppArtificerController { @ApiOperation("查询技师列表") public Result selectArtificerList(Integer page, Integer limit, Long massageTypeId, String artificerName, String longitude,String latitude,Integer sort,Integer authentication, - Integer by,String city,Long classifyId,String phone){ + Integer by,String city,Long classifyId,String phone, Integer isStart){ return artificerService.selectArtificerList(page, limit, massageTypeId, artificerName,longitude,latitude, - sort,authentication,by,-1,city,classifyId,phone,1); + sort,authentication,by,-1,city,classifyId,phone,1,isStart); } @GetMapping("/selectArtificerMassageList") @@ -492,6 +492,12 @@ public class AppArtificerController { return Result.success().put("data",result); } + @Login + @PostMapping("/getHomeStartArtificerList") + @ApiOperation("首页明星技师") + public Result getHomeStartArtificerList(Integer page,Integer limit,Integer isStart,Integer status,String city){ + return artificerService.getHomeStartArtificerList(page,limit,isStart,status,city); + } }