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>
15 lines
381 B
Go
15 lines
381 B
Go
package tosschema
|
|
|
|
type CheckData struct {
|
|
TosID int `json:"tos_id"`
|
|
TosType int `json:"tos_type"`
|
|
IsAgreed bool `json:"is_agreed"`
|
|
ServerTimestamp int64 `json:"server_timestamp"`
|
|
}
|
|
|
|
type CheckResp struct {
|
|
ResponseData CheckData `json:"response_data"`
|
|
ReleaseInfo []any `json:"release_info"`
|
|
StatusCode int `json:"status_code"`
|
|
}
|