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>
24 lines
527 B
Go
24 lines
527 B
Go
package museumschema
|
|
|
|
type Parameter struct {
|
|
Smile int `json:"smile"`
|
|
Pure int `json:"pure"`
|
|
Cool int `json:"cool"`
|
|
}
|
|
|
|
type Museum struct {
|
|
Parameter Parameter `json:"parameter"`
|
|
ContentsIDList []int `json:"contents_id_list"`
|
|
}
|
|
|
|
type InfoData struct {
|
|
MuseumInfo Museum `json:"museum_info"`
|
|
ServerTimestamp int64 `json:"server_timestamp"`
|
|
}
|
|
|
|
type InfoResp struct {
|
|
ResponseData InfoData `json:"response_data"`
|
|
ReleaseInfo []any `json:"release_info"`
|
|
StatusCode int `json:"status_code"`
|
|
}
|