From 313eb59d877679711fd119686a6de351ca6dbcf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com> Date: Fri, 14 Jun 2024 10:36:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=8C=85=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=EF=BC=8C=E6=9F=A5=E7=9C=8B=E6=9C=8D=E5=8A=A1=E5=8C=85=E5=8F=8A?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../artificer/controller/ArtificerController.java | 4 ++-- .../controller/app/AppArtificerController.java | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) 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); + } }