Overhaul [1/n]

Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
2026-01-29 02:42:28 +08:00
parent 989acd6ff1
commit c77241a883
2267 changed files with 7158 additions and 5583 deletions
+47
View File
@@ -0,0 +1,47 @@
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"`
}