智慧食堂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
357 B

  1. package md
  2. type BannerAddReq struct {
  3. Name string `json:"name" binding:"required" label:"名称"`
  4. ImgUrl string `json:"img_url" label:"内容"`
  5. }
  6. type BannerUpdateReq struct {
  7. Id int `json:"id" binding:"required" label:"公司id"`
  8. Name string `json:"name" binding:"required" label:"名称"`
  9. ImgUrl string `json:"img_url" label:"内容"`
  10. }