Implement session module

Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
2025-08-15 19:24:36 +08:00
parent 985895a780
commit 80a686849f
29 changed files with 837 additions and 694 deletions
+3 -5
View File
@@ -1,7 +1,5 @@
package model
import "encoding/json"
// ApiReq ...
type ApiReq struct {
Module string `json:"module"`
@@ -11,9 +9,9 @@ type ApiReq struct {
// ApiResp ...
type ApiResp struct {
ResponseData json.RawMessage `json:"response_data"`
ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"`
ResponseData any `json:"response_data"`
ReleaseInfo any `json:"release_info"`
StatusCode int `json:"status_code"`
}
// ApiUserInfoResp ...