ice_message.go 1.1 KB

123456789101112131415161718192021222324252627
  1. package models
  2. // ReportIceMsgPushLibReq ICE消息推送请求结构体
  3. type ReportIceMsgPushLibReq struct {
  4. PlatformId string `json:"platformId" description:"订阅号"`
  5. Title string `json:"title" description:"标题"`
  6. Summary string `json:"sumary" description:"摘要"`
  7. Content string `json:"content" description:"消息正文"`
  8. Code string `json:"code" description:"用户工号"`
  9. Type int `json:"type" description:"消息类型:2-待办,0-非待办"`
  10. URL string `json:"url" description:"跳转链接"`
  11. TaskId string `json:"taskId" description:"任务ID"`
  12. IsCompleted int `json:"isCompleted" description:"是否已完成状态:1-待办,2-已办,0-非待办"`
  13. SystemId string `json:"systemId" description:"系统唯一标识"`
  14. }
  15. // IceMsgPushLibResp ICE消息推送响应结构体
  16. type IceMsgPushLibResp struct {
  17. Code int `json:"code"`
  18. Msg string `json:"msg"`
  19. Info struct {
  20. Data interface{} `json:"data"`
  21. Msg string `json:"msg"`
  22. Ret string `json:"ret"`
  23. Time string `json:"time"`
  24. } `json:"info"`
  25. }