mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-07 08:27:35 +08:00
fix: 适配uiservice线上格式
This commit is contained in:
+2
-2
@@ -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
@@ -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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user