Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppKey更新之后JSON返回没有result导致报错 #3

Open
freedani opened this issue Dec 3, 2016 · 0 comments
Open

AppKey更新之后JSON返回没有result导致报错 #3

freedani opened this issue Dec 3, 2016 · 0 comments

Comments

@freedani
Copy link

freedani commented Dec 3, 2016

由于appkey过期,JSON返回

{
  "resultcode": "105",
  "reason": "应用未审核超时,请提交认证",
  "result": null,
  "error_code": 10005
}

需要判断resultcode是否是200,否则会由于result返回的是null而读取 *data = result[@"data"]报错。
OfflineCache/Class/Controller/MenuTableViewController.m line 97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant