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>
17 lines
467 B
Go
17 lines
467 B
Go
package personalnoticeschema
|
|
|
|
type GetData struct {
|
|
HasNotice bool `json:"has_notice"`
|
|
NoticeID int `json:"notice_id"`
|
|
Type int `json:"type"`
|
|
Title string `json:"title"`
|
|
Contents string `json:"contents"`
|
|
ServerTimestamp int64 `json:"server_timestamp"`
|
|
}
|
|
|
|
type GetResp struct {
|
|
ResponseData GetData `json:"response_data"`
|
|
ReleaseInfo []any `json:"release_info"`
|
|
StatusCode int `json:"status_code"`
|
|
}
|