Dynamically generate api data for now
Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
+15
-1
@@ -15,7 +15,7 @@ type TopInfoResult struct {
|
||||
PresentCnt int `json:"present_cnt"`
|
||||
SecretBoxBadgeFlag bool `json:"secret_box_badge_flag"`
|
||||
ServerDatetime string `json:"server_datetime"`
|
||||
ServerTimestamp int `json:"server_timestamp"`
|
||||
ServerTimestamp int64 `json:"server_timestamp"`
|
||||
NoticeFriendDatetime string `json:"notice_friend_datetime"`
|
||||
NoticeMailDatetime string `json:"notice_mail_datetime"`
|
||||
FriendsApprovalWaitCnt int `json:"friends_approval_wait_cnt"`
|
||||
@@ -31,6 +31,13 @@ type TopInfoResult struct {
|
||||
HasAdReward bool `json:"has_ad_reward"`
|
||||
}
|
||||
|
||||
type TopInfoResp struct {
|
||||
Result TopInfoResult `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
type TopInfoOnceNotification struct {
|
||||
Push bool `json:"push"`
|
||||
Lp bool `json:"lp"`
|
||||
@@ -56,3 +63,10 @@ type TopInfoOnceResult struct {
|
||||
ArenaSiSkillUniqueCheck bool `json:"arena_si_skill_unique_check"`
|
||||
OpenV98 bool `json:"open_v98"`
|
||||
}
|
||||
|
||||
type TopInfoOnceResp struct {
|
||||
Result TopInfoOnceResult `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user