fix: 适配uiservice线上格式

This commit is contained in:
余泓铮
2025-02-20 10:50:17 +08:00
parent 98b1cf5d8f
commit f12aca9e41
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ type LogoutRequest struct {
} }
type HttpResponse struct { type HttpResponse struct {
Code int `json:"code"` Code int `json:"errorCode"`
Message string `json:"msg"` Message string `json:"errorMsg"`
Result interface{} `json:"result,omitempty"` Result interface{} `json:"result,omitempty"`
} }
+2 -2
View File
@@ -76,8 +76,8 @@ type OperateRequest struct {
} }
type HttpResponse struct { type HttpResponse struct {
Code int `json:"code"` Code int `json:"errorCode"`
Message string `json:"msg"` Message string `json:"errorMsg"`
Result interface{} `json:"result,omitempty"` Result interface{} `json:"result,omitempty"`
} }