Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
如果: ``` Error *Error `json:"error"` ``` 而服务器没有返回 error 字段,会在执行: ``` if resp.Error.Code > 0 { ``` 时报错: ``` panic: runtime error: invalid memory address or nil pointer dereference ```
- Loading branch information