现在情况是这样的,工程连接生产环境接口会报错Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: 未找到 (404),但是同一个工程在测试环境上很正常,能够正常的连接到服务器。生产环境的接口线上的项目正在用,并且paw 等第三方也测试正常!!!
请问是不是工程的哪些东西可能影响了请求?
ringa_lee2017-04-18 09:18:13
Whether the request address when connecting to the production environment interface has been modified. Whether the server code has been pushed to the production environment.
PHP中文网2017-04-18 09:18:13
Now we can basically determine the problem, because some new interfaces of the production server have not been updated, and the app has requested this interface that does not exist. It is normal that this interface will return 404. But as long as these non-existent interfaces are called, other old interfaces will also be affected and return 404! ! ! ! ! What the hell is this! ! ! AFNetworking for network requests!!