0
{
 "data":
    {
     "email":"test@gmail.com",
     "last_login_ip":"122.164.168.52",
     "time_zone":"Eastern Time (US \u0026 Canada)",
     "authentication_token":"260234dd0bf18d42310ffyddgl01050",
     "last_login_at":"2013/07/17 06:20:35 +0000",
     "id":11986
    },
 "status":"success"
}

我在 CURL 中得到了这个 JSON。但在 RestKit 回复中,我刚刚得到:

response.body = {
    "time_zone":"Eastern Time (US \u0026 Canada)",
    "email":"test@gmail.com",
    "last_login_ip":"122.178.0.166",
    "id":11986,"last_login_at":"2013/07/18 06:25:48 +0000",
    "authentication_token":"260234dd0bf18d42310ffyddgl01050"
}

然后RestKit抛出一个错误:cannot add status, did not find mappable keypath。我该如何解决这个问题?

4

0 回答 0