| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- package mq
- import (
- "paopaoimtask/pkg/constants"
- )
- type MsgChatTransfer struct {
- MsgId string `mapstructure:"msgId"`
- ConversationId string `json:"conversationId"`
- constants.ChatType `json:"chatType"`
- SendID int64 `json:"sendId"` //发送者
- RecvID int64 `json:"recvId"` //接收者
- RecvIDs []int64 `json:"recvIds"` //多个接收者
- SendTime int64 `json:"sendTime"`
- constants.MType `json:"mType"`
- Content string `json:"content"`
- }
- type MsgMarkRead struct {
- ConversationId string `json:"conversationId"`
- constants.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 constants.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 constants.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"` // 购买价格
- }
|