"jshERP-boot/vscode:/vscode.git/clone" did not exist on "2b3e9800439cc2a7eb160ef1c54062896b692844"
Commit 744e52ab authored by zhh's avatar zhh
Browse files

swagger文档注释修改

parent 3f265254
......@@ -20,6 +20,7 @@ import java.util.List;
* 品牌功能Controller
*/
@Controller
@Api(tags = "PmsBrandController",description = "商品品牌管理")
@RequestMapping("/brand")
public class PmsBrandController {
@Autowired
......
......@@ -3,6 +3,7 @@ package com.macro.mall.controller;
import com.macro.mall.dto.CommonResult;
import com.macro.mall.model.PmsProductAttributeCategory;
import com.macro.mall.service.PmsProductAttributeCategoryService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......@@ -16,6 +17,7 @@ import java.util.List;
* 商品属性分类Controller
*/
@Controller
@Api(tags = "PmsProductAttributeCategoryController",description = "商品属性分类管理")
@RequestMapping("/productAttribute/category")
public class PmsProductAttributeCategoryController {
@Autowired
......
package com.macro.mall.controller;
import com.macro.mall.service.PmsProductAttributeService;
import io.swagger.annotations.Api;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -11,6 +12,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
* 商品属性管理Controller
*/
@Controller
@Api(tags = "PmsProductAttributeController",description = "商品属性管理")
@RequestMapping("/productAttribute")
public class PmsProductAttributeController {
private static final Logger LOGGER = LoggerFactory.getLogger(PmsProductAttributeController.class);
......
......@@ -4,6 +4,7 @@ import com.macro.mall.dto.CommonResult;
import com.macro.mall.dto.PmsProductCategoryParam;
import com.macro.mall.model.PmsProductCategory;
import com.macro.mall.service.PmsProductCategoryService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......@@ -19,6 +20,7 @@ import java.util.List;
* 商品分类模块Controller
*/
@Controller
@Api(tags = "PmsProductCategoryController",description = "商品分类管理")
@RequestMapping("/productCategory")
public class PmsProductCategoryController {
@Autowired
......
package com.macro.mall.controller;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
......@@ -7,6 +8,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
* 商品管理Controller
*/
@Controller
@Api(tags = "PmsProductController",description = "商品管理")
@RequestMapping("/product")
public class PmsProductController {
}
Supports Markdown
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