分类管理

This commit is contained in:
范俊成 2023-10-19 11:37:40 +08:00
parent 55f9615c5b
commit a1a62b3ab7
4 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -110,7 +110,7 @@ const docTemplate = `{
}
}
},
"/api/v1/category/list/": {
"/api/v1/category/list": {
"get": {
"produces": [
"application/json"

View File

@ -102,7 +102,7 @@
}
}
},
"/api/v1/category/list/": {
"/api/v1/category/list": {
"get": {
"produces": [
"application/json"

View File

@ -1133,7 +1133,7 @@ paths:
summary: 隐藏或展示分类
tags:
- 商品分类
/api/v1/category/list/:
/api/v1/category/list:
get:
parameters:
- description: 分类列表请求模型