Files
honoka-chan/internal/schema/ghome/basic.go
T
YumeMichi c77241a883 Overhaul [1/n]
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-01-29 02:42:28 +08:00

48 lines
1018 B
Go

package ghome
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"`
}