feat(app): update

This commit is contained in:
Yangtao
2025-11-19 14:24:13 +08:00
parent 1eac66d7fd
commit 0c34585649
329 changed files with 10760 additions and 281 deletions

View File

@ -498,7 +498,7 @@ func NewApiException(statusCode int, header http.Header, body []byte) error {
body: body,
}
bodyObject := map[string]interface{}{}
bodyObject := map[string]any{}
if err := json.Unmarshal(body, &bodyObject); err == nil {
if val, ok := bodyObject["code"]; ok {
ret.errorCode = val.(string)