swagger文档注释修改
This commit is contained in:
parent
3f2652545f
commit
744e52abf4
@ -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
|
||||
|
@ -1,6 +1,7 @@
|
||||
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
|
||||
|
@ -1,5 +1,6 @@
|
||||
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 {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user