用全局api请求的时候上个还没请求完成,继续调用本api请求就报 Invalid status code
Opened this issue · 1 comments
xhjss commented
提出问题前请先确认完成了下列几项步骤 New Issue Checklist
- 我已经阅读过 贡献指南 I have read and understood the CONTRIBUTING guide
- 我已经阅读过 程序文档 I have read the Documentation
- 我已经证实这个问题来源于 YTKNetwork 本身,而不是其所依赖的 AFNetworking I have confirmed that this issue is caused by YTKNetwork, not AFNetworking
- 我已经在项目的 问题列表 中搜索过并且没有找到类似问题 I have searched for a similar issue in the project and found none
问题描述 Issue Description
请给出所提出问题的详尽描述,包括具体的错误信息,打印的堆栈等等,以及重现此问题的具体步骤。
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
xhjss commented
我看了responseStatusCode 方法返回0,baseRequest里验证必须(statusCode >= 200 && statusCode <= 299)