提交 58f75d72 编写于 作者: M macro

Update SmsHomeNewProductController.java

上级 f0675db8
......@@ -23,7 +23,7 @@ public class SmsHomeNewProductController {
@Autowired
private SmsHomeNewProductService homeNewProductService;
@ApiOperation("添加首页推荐品牌")
@ApiOperation("添加首页新品")
@RequestMapping(value = "/create", method = RequestMethod.POST)
@ResponseBody
public CommonResult create(@RequestBody List<SmsHomeNewProduct> homeNewProductList) {
......@@ -34,7 +34,7 @@ public class SmsHomeNewProductController {
return CommonResult.failed();
}
@ApiOperation("修改推荐排序")
@ApiOperation("修改首页新品排序")
@RequestMapping(value = "/update/sort/{id}", method = RequestMethod.POST)
@ResponseBody
public CommonResult updateSort(@PathVariable Long id, Integer sort) {
......@@ -45,7 +45,7 @@ public class SmsHomeNewProductController {
return CommonResult.failed();
}
@ApiOperation("批量删除推荐")
@ApiOperation("批量删除首页新品")
@RequestMapping(value = "/delete", method = RequestMethod.POST)
@ResponseBody
public CommonResult delete(@RequestParam("ids") List<Long> ids) {
......@@ -56,7 +56,7 @@ public class SmsHomeNewProductController {
return CommonResult.failed();
}
@ApiOperation("批量修改推荐状态")
@ApiOperation("批量修改首页新品状态")
@RequestMapping(value = "/update/recommendStatus", method = RequestMethod.POST)
@ResponseBody
public CommonResult updateRecommendStatus(@RequestParam("ids") List<Long> ids, @RequestParam Integer recommendStatus) {
......@@ -67,7 +67,7 @@ public class SmsHomeNewProductController {
return CommonResult.failed();
}
@ApiOperation("分页查询推荐")
@ApiOperation("分页查询首页新品")
@RequestMapping(value = "/list", method = RequestMethod.GET)
@ResponseBody
public CommonResult<CommonPage<SmsHomeNewProduct>> list(@RequestParam(value = "productName", required = false) String productName,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册