智慧食堂
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.

md_notice.go 363 B

1 jaar geleden
123456789101112
  1. package md
  2. type NoticeAddReq struct {
  3. Name string `json:"name" binding:"required" label:"名称"`
  4. Content string `json:"content" label:"内容"`
  5. }
  6. type NoticeUpdateReq struct {
  7. Id int `json:"id" binding:"required" label:"公司id"`
  8. Name string `json:"name" binding:"required" label:"名称"`
  9. Content string `json:"content" label:"内容"`
  10. }