Files
honoka-chan/internal/schema/login/login.go
T
YumeMichi 150ce674ad Implement more endpoints & overhaul [2/n]
Drop LevelDB and move all the things to SQLite.

Implemented endpoints:
/api <unit, accessoryMaterialAll>
/api <unit, accessoryTab>
/live/continue
/live/partyList
/unit/favoriteAccessory (WIP)
/unit/sale

Signed-off-by: Sean Du <do4suki@gmail.com>
2026-04-28 11:44:56 +08:00

18 lines
539 B
Go

package loginschema
type LoginData struct {
AuthorizeToken string `json:"authorize_token"`
UserId int `json:"user_id"`
ReviewVersion string `json:"review_version"`
ServerTimestamp int64 `json:"server_timestamp"`
IdfaEnabled bool `json:"idfa_enabled"`
SkipLoginNews bool `json:"skip_login_news"`
AdultFlag int `json:"adult_flag"`
}
type LoginResp struct {
ResponseData LoginData `json:"response_data"`
ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"`
}