Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
744e52ab
"jshERP-boot/vscode:/vscode.git/clone" did not exist on "2b3e9800439cc2a7eb160ef1c54062896b692844"
Commit
744e52ab
authored
Apr 20, 2018
by
zhh
Browse files
swagger文档注释修改
parent
3f265254
Changes
5
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/controller/PmsBrandController.java
View file @
744e52ab
...
...
@@ -20,6 +20,7 @@ import java.util.List;
* 品牌功能Controller
*/
@Controller
@Api
(
tags
=
"PmsBrandController"
,
description
=
"商品品牌管理"
)
@RequestMapping
(
"/brand"
)
public
class
PmsBrandController
{
@Autowired
...
...
mall-admin/src/main/java/com/macro/mall/controller/PmsProductAttributeCategoryController.java
View file @
744e52ab
...
...
@@ -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
...
...
mall-admin/src/main/java/com/macro/mall/controller/PmsProductAttributeController.java
View file @
744e52ab
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
);
...
...
mall-admin/src/main/java/com/macro/mall/controller/PmsProductCategoryController.java
View file @
744e52ab
...
...
@@ -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
...
...
mall-admin/src/main/java/com/macro/mall/controller/PmsProductController.java
View file @
744e52ab
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
{
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment