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>
19 lines
428 B
Go
19 lines
428 B
Go
package backgroundapischema
|
|
|
|
type Info struct {
|
|
BackgroundID int `json:"background_id"`
|
|
IsSet bool `json:"is_set"`
|
|
InsertDate string `json:"insert_date"`
|
|
}
|
|
|
|
type InfoData struct {
|
|
BackgroundInfo []Info `json:"background_info"`
|
|
}
|
|
|
|
type InfoResp struct {
|
|
Result InfoData `json:"result"`
|
|
Status int `json:"status"`
|
|
CommandNum bool `json:"commandNum"`
|
|
TimeStamp int64 `json:"timeStamp"`
|
|
}
|