Implement greet inbox and outbox
- Add user_greet model and startup table sync - Implement /greet/user and /greet/delete handlers - Implement noticeFriendGreeting inbox and noticeUserGreetingHistory outbox - Return peer profile and center unit info for greeting notices - Update login topInfo friend greet counters from unread inbox messages Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package greetschema
|
||||
|
||||
type UserReq struct {
|
||||
Module string `json:"module"`
|
||||
Mgd int `json:"mgd"`
|
||||
Action string `json:"action"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
ToUserID int `json:"to_user_id"`
|
||||
Message string `json:"message"`
|
||||
RepliedNoticeID int `json:"replied_notice_id"`
|
||||
CommandNum string `json:"commandNum"`
|
||||
}
|
||||
Reference in New Issue
Block a user