|
123456789101112 |
- package md
-
- type BannerAddReq struct {
- Name string `json:"name" binding:"required" label:"名称"`
- ImgUrl string `json:"img_url" label:"内容"`
- }
-
- type BannerUpdateReq struct {
- Id int `json:"id" binding:"required" label:"公司id"`
- Name string `json:"name" binding:"required" label:"名称"`
- ImgUrl string `json:"img_url" label:"内容"`
- }
|