Code cleanup

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-04-24 17:50:39 +08:00
parent e1e0e8c27d
commit 327b4a222b
56 changed files with 907 additions and 1610 deletions
+19
View File
@@ -20,3 +20,22 @@ type UserNameChangeRes struct {
AfterName string `json:"after_name"`
ServerTimestamp int64 `json:"server_timestamp"`
}
// User ...
type User struct {
UserID int `json:"user_id"`
UnitOwningUserID int `json:"unit_owning_user_id"`
}
// UserNaviRes ...
type UserNaviRes struct {
User User `json:"user"`
}
// UserNaviResp ...
type UserNaviResp struct {
Result UserNaviRes `json:"result"`
Status int `json:"status"`
CommandNum bool `json:"commandNum"`
TimeStamp int64 `json:"timeStamp"`
}