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>
22 lines
476 B
Go
22 lines
476 B
Go
package ghomeschema
|
|
|
|
type AgreementData struct {
|
|
}
|
|
|
|
type AgreementResp struct {
|
|
ReturnCode int `json:"return_code"`
|
|
ErrorType int `json:"error_type"`
|
|
ReturnMessage string `json:"return_message"`
|
|
Data AgreementData `json:"data"`
|
|
}
|
|
|
|
type AppReportData struct {
|
|
NeedReport int `json:"needReport"`
|
|
}
|
|
|
|
type AppReportResp struct {
|
|
Code int `json:"code"`
|
|
Msg string `json:"msg"`
|
|
Data AppReportData `json:"data"`
|
|
}
|