From fb3b1342e36ce213536b8fb127fb015765136472 Mon Sep 17 00:00:00 2001
From: phpcjl <phpcjl@gmail.com>
Date: 星期五, 06 十二月 2024 17:51:43 +0800
Subject: [PATCH] 1.

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TechnicianController.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TechnicianController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TechnicianController.java
index 040a1d8..6afc772 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TechnicianController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TechnicianController.java
@@ -2,6 +2,8 @@
 
 
 import com.ruoyi.common.core.domain.R;
+import com.ruoyi.common.core.web.controller.BaseController;
+import com.ruoyi.common.core.web.page.TableDataInfo;
 import com.ruoyi.common.security.service.TokenService;
 import com.ruoyi.other.api.feignClient.OrderClient;
 import com.ruoyi.other.service.GoodsEvaluateService;
@@ -32,7 +34,7 @@
 @RestController
 @RequestMapping("/technician")
 @Api(tags = "技师")
-public class TechnicianController {
+public class TechnicianController extends BaseController {
     @Resource
     private TechnicianService technicianService;
     @Resource
@@ -105,8 +107,9 @@
      */
     @GetMapping("/technicianListByShopId")
     @ApiOperation(value = "技师列表", tags = {"技师列表-小程序"})
-    public R<List<TechnicianVO>> technicianListByShopId(@ApiParam("门店id") @RequestParam Long shopId) {
-        return R.ok(technicianService.getTechnicianListByShopId(shopId));
+    public R<TableDataInfo> technicianListByShopId(@ApiParam("门店id") @RequestParam Long shopId) {
+        startPage();
+        return R.ok(getDataTable(technicianService.getTechnicianListByShopId(shopId)));
     }
 
     /**

--
Gitblit v1.7.1