Files
honoka-chan/internal/schema/ghome/basic.go
T
YumeMichi 150ce674ad Implement more endpoints & overhaul [2/n]
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>
2026-04-28 11:44:56 +08:00

48 lines
1.0 KiB
Go

package ghomeschema
type GetCodeResp struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data map[string]any `json:"data"`
}
type GetProductListResp struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data GetProductListData `json:"data"`
}
type GetProductListData struct {
Message []string `json:"message"`
Result int `json:"result"`
}
type HandshakeResp struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data string `json:"data"`
}
type LoginAreaData struct {
UserID string `json:"userid"`
}
type LoginAreaResp struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data LoginAreaData `json:"data"`
}
type PublicKeyData struct {
Result int `json:"result"`
Message string `json:"message"`
Key string `json:"key,omitempty"`
Method string `json:"method,omitempty"`
}
type PublicKeyResp struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data PublicKeyData `json:"data"`
}