- 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>
13 lines
385 B
Go
13 lines
385 B
Go
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"`
|
|
}
|