model.go 622 B

12345678910111213141516171819
  1. package model
  2. type SysPastureUrl struct {
  3. ID int `gorm:"primary_key;AUTO_INCREMENT"`
  4. SysName string `form:"sys_name" json:"sys_name" gorm:"sys_name"`
  5. Pasture string `form:"pasture" json:"pasture" gorm:"pasture"`
  6. Url string `form:"url" json:"url" gorm:"url"`
  7. }
  8. type WxMessageReq struct {
  9. ToUserName string `json:"ToUserName"`
  10. FromUserName string `json:"FromUserName"`
  11. CreateTime int `json:"CreateTime"`
  12. MsgType string `json:"MsgType"`
  13. MsgId int `json:"MsgId"`
  14. Event string `json:"Event"`
  15. EventKey string `json:"EventKey"`
  16. Content string `json:"Content"`
  17. }