Files
servicebase/pkg/req/app_user_content.go
2025-11-18 17:48:20 +08:00

67 lines
1.3 KiB
Go

package req
type CategoryListReq struct {
KeyBody
ParentID *string `json:"parent_id" form:"parent_id" uri:"parent_id"`
}
func (d *CategoryListReq) Check() error {
return nil
}
type ShopListReq struct {
KeyBody
}
func (d *ShopListReq) Check() error {
return nil
}
type CommodityListReq struct {
KeyBody
TopCatID *string `json:"top_cat_id" form:"top_cat_id" uri:"top_cat_id"`
SecondCatID *string `json:"second_cat_id" form:"second_cat_id" uri:"second_cat_id"`
ThirdCatID *string `json:"third_cat_id" form:"third_cat_id" uri:"third_cat_id"`
}
type CommodityListByTagReq struct {
Tag string `json:"tag" form:"tag" uri:"tag"`
}
func (d *CommodityListReq) Check() error {
return nil
}
type AppCommodityPageReq struct {
PageWithKeyBody
CatID *string `json:"cat_id" form:"cat_id" uri:"cat_id"`
}
func (d *AppCommodityPageReq) Check() error {
return nil
}
type BannerListReq struct {
Position string `json:"position" form:"position" uri:"position"`
}
func (d *BannerListReq) Check() error {
return nil
}
type FAQListReq struct {
KeyBody
}
func (d *FAQListReq) Check() error {
return nil
}
type ArticleListReq struct {
KeyBody
ArticleType string `json:"article_type" form:"article_type" uri:"article_type"`
}
func (d *ArticleListReq) Check() error {
return nil
}