更新单元测试
This commit is contained in:
parent
a7351afd2d
commit
ad7d7ea7db
|
|
@ -99,7 +99,7 @@ func CheckHttpRes(resp *Response, data interface{}) (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
if resBody.Code != 0 {
|
||||
if resBody.Code != 200 {
|
||||
return fmt.Errorf("请求失败,err: %s", resBody.Message)
|
||||
}
|
||||
if data != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue