| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- package types
- type MsgChatTransfer struct {
- MsgId string `mapstructure:"msgId"`
- ConversationId string `json:"conversationId"`
- ChatType `json:"chatType"`
- SendID int64 `json:"sendId"` //发送者
- RecvID int64 `json:"recvId"` //接收者
- RecvIDs []int64 `json:"recvIds"` //多个接收者
- SendTime int64 `json:"sendTime"`
- MType `json:"mType"`
- Content string `json:"content"`
- }
- type MsgMarkRead struct {
- ConversationId string `json:"conversationId"`
- ChatType `json:"chatType"`
- SendID int64 `json:"sendId"` //发送者
- RecvID int64 `json:"recvId"` //接收者
- MsgIds []string `json:"msgIds"`
- }
- type MsgTweetData struct {
- ID int64 `json:"id"`
- UserID int64 `json:"user_id"`
- CommentCount int64 `json:"comment_count"`
- CollectionCount int64 `json:"collection_count"`
- ShareCount int64 `json:"share_count"`
- UpvoteCount int64 `json:"upvote_count"`
- Visibility PostVisibleT `json:"visibility"`
- IsTop int `json:"is_top"`
- IsEssence int `json:"is_essence"`
- IsLock int `json:"is_lock"`
- LatestRepliedOn int64 `json:"latest_replied_on"`
- Tags string `json:"tags"`
- AttachmentPrice int64 `json:"attachment_price"`
- IP string `json:"ip"`
- IPLoc string `json:"ip_loc"`
- Contents []MsgTweetContentData `json:"contents"`
- CreatedOn int64 `json:"created_on"`
- ModifiedOn int64 `json:"modified_on"`
- DeletedOn int64 `json:"deleted_on"`
- IsDel int64 `json:"is_del"`
- }
- type MsgTweetContentData struct {
- ID int64 `json:"id"`
- PostID int64 `json:"post_id"`
- UserID int64 `json:"user_id"`
- Content string `json:"content"`
- Type PostContentT `json:"type"`
- Sort int64 `json:"sort"`
- }
- type UserBillContentData struct {
- PostID int64 `json:"post_id"` // 咨询id
- UserID int64 `json:"user_id"` // 用户id
- ProfitUserID int64 `json:"profit_user_id"` // 受益者id
- Price int64 `json:"price"` // 购买价格
- }
|