From 9de59eeae9728b9085c6e964a87ba54d2c85c2e7 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期一, 16 十二月 2024 17:43:50 +0800 Subject: [PATCH] 用户端小程序 --- manage/src/main/java/com/jilongda/manage/controller/TBrandController.java | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/manage/src/main/java/com/jilongda/manage/controller/TBrandController.java b/manage/src/main/java/com/jilongda/manage/controller/TBrandController.java index e4a7b3c..ddf6ee9 100644 --- a/manage/src/main/java/com/jilongda/manage/controller/TBrandController.java +++ b/manage/src/main/java/com/jilongda/manage/controller/TBrandController.java @@ -19,13 +19,13 @@ /** * <p> - * 镜架/镜片品牌表 前端控制器 + * 镜架-镜片品牌表 前端控制器 * </p> * * @author 无关风月 * @since 2024-12-09 */ -@Api(tags = "镜架/镜片品牌表") +@Api(tags = "镜架-镜片品牌表") @RestController @RequestMapping("/t-brand") public class TBrandController { @@ -34,44 +34,44 @@ private TBrandService brandService; /** - * 获取镜架/镜片品牌列表 + * 获取镜架-镜片品牌列表 */ - @ApiOperation(value = "获取镜架/镜片品牌分页列表") + @ApiOperation(value = "获取镜架-镜片品牌分页列表") @PostMapping(value = "/pageList") public ApiResult<PageInfo<TBrandVO>> pageList(@RequestBody TBrandQuery query) { return ApiResult.success(brandService.pageList(query)); } /** - * 添加镜架/镜片品牌 + * 添加镜架-镜片品牌 */ - @ApiOperation(value = "添加镜架/镜片品牌") + @ApiOperation(value = "添加镜架-镜片品牌") @PostMapping(value = "/add") public ApiResult<String> add(@Validated @RequestBody TBrand dto) { brandService.save(dto); return ApiResult.success(); } - @ApiOperation(value = "修改镜架/镜片品牌--启用、禁用、设置主要品牌接口") + @ApiOperation(value = "修改镜架-镜片品牌--启用、禁用、设置主要品牌接口") @PostMapping(value = "/update") public ApiResult<String> update(@RequestBody TBrand dto) { brandService.updateById(dto); return ApiResult.success(); } - @ApiOperation(value = "删除镜架/镜片品牌") + @ApiOperation(value = "删除镜架-镜片品牌") @DeleteMapping(value = "/deleteById") public ApiResult<Boolean> deleteById(@RequestParam Long id) { return ApiResult.success(brandService.removeById(id)); } - @ApiOperation(value = "批量删除镜架/镜片品牌") + @ApiOperation(value = "批量删除镜架-镜片品牌") @DeleteMapping(value = "/deleteByIds") public ApiResult<Boolean> deleteByIds(@RequestBody List<Long> ids) { return ApiResult.success(brandService.removeByIds(ids)); } - @ApiOperation(value = "查询镜架/镜片品牌详情") + @ApiOperation(value = "查询镜架-镜片品牌详情") @GetMapping(value = "/getDetailById") public ApiResult<TBrand> getDetailById(@RequestParam Long id) { return ApiResult.success(brandService.getById(id)); -- Gitblit v1.7.1