| | |
| | | |
| | | |
| | | 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; |
| | |
| | | @RestController |
| | | @RequestMapping("/technician") |
| | | @Api(tags = "技师") |
| | | public class TechnicianController { |
| | | public class TechnicianController extends BaseController { |
| | | @Resource |
| | | private TechnicianService technicianService; |
| | | @Resource |
| | |
| | | */ |
| | | @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))); |
| | | } |
| | | |
| | | /** |