记得上下班打卡 | git大法好,push需谨慎

Commit aecd6143 authored by dongchun's avatar dongchun

~

parent 4f0518e0
...@@ -51,11 +51,10 @@ public class GoblinSelfCategoryAdminController extends BaseController { ...@@ -51,11 +51,10 @@ public class GoblinSelfCategoryAdminController extends BaseController {
@ApiImplicitParam(type = "form", required = true, dataType = "String", name = "grade", value = "分类层级[1-一级|2-二级|3-三级]", allowableValues = "1,2,3"), @ApiImplicitParam(type = "form", required = true, dataType = "String", name = "grade", value = "分类层级[1-一级|2-二级|3-三级]", allowableValues = "1,2,3"),
@ApiImplicitParam(type = "form", required = false, dataType = "String", name = "cateId", value = "分类父ID[30]"), @ApiImplicitParam(type = "form", required = false, dataType = "String", name = "cateId", value = "分类父ID[30]"),
}) })
@Log(title = "店铺管理:商品分类:筛选", businessType = BusinessType.DELETE) @RequiresPermissions("goblin:category:filter")
@RequiresPermissions("goblin:category:select") @PostMapping("filter")
@PostMapping("select")
@ResponseBody @ResponseBody
public AjaxResult select(@RequestParam String grade, @RequestParam String cateId) { public AjaxResult filter(@RequestParam String grade, @RequestParam String cateId) {
LambdaQueryWrapper<GoblinSelfGoodsCategory> queryWrapper = Wrappers.lambdaQuery(GoblinSelfGoodsCategory.class); LambdaQueryWrapper<GoblinSelfGoodsCategory> queryWrapper = Wrappers.lambdaQuery(GoblinSelfGoodsCategory.class);
switch (grade) { switch (grade) {
case "1": case "1":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment