// Code generated by goctl. DO NOT EDIT. package types type Response struct { Code int64 `json:"code"` Message string `json:"message"` } type MessageDetailReq struct { Id int64 `json:"id"` } type MessageDetailResp struct { Code int64 `json:"code"` Message string `json:"message"` Data map[string]interface{} `json:"data"` } type GetMsgTypeReq struct { UserId string `header:"mgoUserId"` AppId string `header:"appId"` } type GetMsgTypeRes struct { Code int64 `json:"code"` Message string `json:"message"` Data []map[string]interface{} `json:"data"` } type MsgReadStatusReq struct { UserId string `form:"userId"` AppId string `form:"appId"` MsgType int `form:"msgType"` } type MsgReadStatusResp struct { Code int64 `json:"code"` Message string `json:"message"` Status int64 `json:"status"` } type MarkReadReq struct { MsgId int64 `json:"msgId"` AppId string `header:"appId"` } type MarkReadRes struct { Code int64 `json:"code"` Message string `json:"message"` Data int64 `json:"data"` } type MultipleSaveMsgReq struct { MsgInfo map[string]interface{} `json:"msgInfo"` UserIds string `json:"userIds"` UserNames string `json:"userNames"` PositionIds string `json:"positionIds,optional"` // 职位id 如果是多个就逗号分割 和用户id一一对应 } type MultipleSaveMsgResp struct { Code int64 `json:"code"` Message string `json:"message"` ErrCount int64 `json:"errCount"` } type GetBuoyMsgReq struct { UserId string `header:"mgoUserId"` AppId string `header:"appId"` Size int64 `json:"size,optional"` } type GetBuoyMsgResp struct { Code int64 `json:"error_code"` Message string `json:"error_msg"` Data []map[string]interface{} `json:"data"` } type ClearUnreadMsgReq struct { UserId string `header:"mgoUserId"` AppId string `header:"appId"` EntId int64 `header:"entId,optional"` PositionId int64 `header:"positionId,optional"` NewUserId int64 `header:"newUserId,optional"` } type MessageListReq struct { UserId string `header:"mgoUserId"` AppId string `header:"appId"` EntId int64 `header:"entId,optional"` SortSize int64 `json:"sortSize,optional"` //分类获取数 Offset int64 `json:"offset,optional"` // Size int64 `json:"size,optional"` MsgType int64 `json:"msgType,optional"` IsRead int64 `json:"isRead,optional"` NewUserId int64 `header:"newUserId,optional"` //私信相关 PositionId int64 `header:"positionId,optional"` //私信相关 IsColumn bool `json:"isColumn"` //是否需要获取栏目 IsColumnNewMsg bool `json:"isColumnNewMsg"` //是否需各栏目获取最新消息 IsMsgList bool `json:"isMsgList"` //是否需要列表信息 IsContainLetter bool `json:"isContainLetter,optional"` //是否未读数包含私信 } type MessageListResp struct { Code int64 `json:"code"` Message string `json:"message"` Data []map[string]interface{} `json:"data"` Last map[string]interface{} `json:"last"` Total int64 `json:"total"` Column []map[string]interface{} `json:"column"` Unread int64 `json:"unread"` RollingTiming int64 `json:"rollingTiming"` } type UnreadMessageReq struct { UserId string `header:"mgoUserId"` AppId string `header:"appId"` Offset int64 `json:"offset"` // PageSize int64 `json:"pageSize"` IsNeedData int64 `json:"isNeedData"` //是否需要未读消息数据 0 不需要 1 需要 } type UnreadMessageResp struct { Code int64 `json:"code"` Message string `json:"message"` Data []map[string]interface{} `json:"data"` Total int64 `json:"total"` } type WxTmplMessageReq struct { UserIds string `json:"userIds,optional"` // 用户id如果是多个就逗号分割 PositionIds string `json:"positionIds,optional"` //用户职位id Title string `json:"title"` Date string `json:"date"` Detail string `json:"detail"` Class string `json:"class"` Url string `json:"url"` } type WxTmplMessageResponse struct { Code int64 `json:"code"` Total int64 `json:"total"` Message string `json:"message"` } type MsgOpenLogReq struct { MsgLogId int64 `json:"msgLogId"` Platform int64 `json:"platform"` //1pc 2 app 3 微信 UserId string `header:"mgoUserId"` AppId string `header:"appId"` }