Open Yougmark opened 10 years ago
- (NSDictionary *)loginVerifyWithEmail:(NSString *)email password:(NSString *)password { NSDictionary *loginInfo = [NSDictionary dictionaryWithObjectsAndKeys:email, @"Email", password, @"Password", nil]; NSData *loginInfoJsonData = [NSJSONSerialization dataWithJSONObject:loginInfo options:NSJSONWritingPrettyPrinted error:nil]; NSString *requestString = [NSString stringWithFormat:@"User=%@", [[NSString alloc] initWithData:loginInfoJsonData encoding:NSUTF8StringEncoding]]; NSData *jsonBody = [requestString dataUsingEncoding:NSUTF8StringEncoding]; NSData *responseData = [ServerRequest getServerUserResponseWithServerURL:SERVER_URL requestType:User_Login jsonData:jsonBody]; return [self responseDataToJSONDictionary:responseData]; }
NSData *responseData = [ServerRequest getServerUserResponseWithServerURL:SERVER_URL requestType:User_Login jsonData:jsonBody];
等待时间过长,数据返回为空
检查:
TODO:
已解决,估计是这几天伟大的dang封了几台DNS,无法访问官网了
但是网络问题还是需要前端处理得友好一点
等待时间过长,数据返回为空
检查:
TODO: