diff --git a/ghy-admin/src/main/java/com/ghy/web/controller/goods/GoodsDeptCategoryController.java b/ghy-admin/src/main/java/com/ghy/web/controller/goods/GoodsDeptCategoryController.java index 16170ce6..8b829df8 100644 --- a/ghy-admin/src/main/java/com/ghy/web/controller/goods/GoodsDeptCategoryController.java +++ b/ghy-admin/src/main/java/com/ghy/web/controller/goods/GoodsDeptCategoryController.java @@ -10,6 +10,7 @@ import com.ghy.common.utils.ExceptionUtil; import com.ghy.common.utils.ShiroUtils; import com.ghy.goods.domain.DeptGoodsCategory; import com.ghy.goods.service.DeptGoodsCategoryService; +import com.ghy.web.pojo.vo.AppCategoryRequest; import org.apache.commons.lang3.StringUtils; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.stereotype.Controller; @@ -104,6 +105,18 @@ public class GoodsDeptCategoryController extends BaseController { return AjaxResult.success(deptGoodsCategoryService.appList(deptGoodsCategory.getDeptId())); } + @PostMapping("/app/category") + @ResponseBody + public AjaxResult appCategory(@RequestBody AppCategoryRequest request){ + try { + + return AjaxResult.success(); + }catch (Exception e){ + e.printStackTrace(); + return AjaxResult.error(e.getMessage()); + } + } + /** * 删除子公司商品类别接口 */ diff --git a/ghy-admin/src/main/java/com/ghy/web/pojo/vo/AppCategoryRequest.java b/ghy-admin/src/main/java/com/ghy/web/pojo/vo/AppCategoryRequest.java new file mode 100644 index 00000000..eb746d2e --- /dev/null +++ b/ghy-admin/src/main/java/com/ghy/web/pojo/vo/AppCategoryRequest.java @@ -0,0 +1,6 @@ +package com.ghy.web.pojo.vo; + +public class AppCategoryRequest { + + +}