分类管理
This commit is contained in:
parent
55f9615c5b
commit
a1a62b3ab7
|
@ -149,7 +149,7 @@ type CategoryListRequest struct {
|
|||
// @Produce json
|
||||
// @Param request body CategoryListRequest true "分类列表请求模型"
|
||||
// @Success 200 {array} models.CategoryModel
|
||||
// @Router /api/v1/category/list/ [get]
|
||||
// @Router /api/v1/category/list [get]
|
||||
func CategoryList(c *gin.Context) {
|
||||
req := new(CategoryListRequest)
|
||||
_ = c.ShouldBindJSON(req)
|
||||
|
|
|
@ -110,7 +110,7 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/category/list/": {
|
||||
"/api/v1/category/list": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/category/list/": {
|
||||
"/api/v1/category/list": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
|
|
|
@ -1133,7 +1133,7 @@ paths:
|
|||
summary: 隐藏或展示分类
|
||||
tags:
|
||||
- 商品分类
|
||||
/api/v1/category/list/:
|
||||
/api/v1/category/list:
|
||||
get:
|
||||
parameters:
|
||||
- description: 分类列表请求模型
|
||||
|
|
Loading…
Reference in New Issue
Block a user