美文网首页
Invalid type in JSON write (Sign

Invalid type in JSON write (Sign

作者: Kloar | 来源:发表于2016-09-09 15:44 被阅读45次

__weak typeof(self) weakSelf = self;

NSMutableArray *dataSource = [NSMutableArray array];

for (SigningContentDetailsModel *model in _myDataSource) {

[dataSource addObject:model.mj_keyValues];

}

[self showHudInView:self.view hint:@"正在加载..."];

[NetworkApiUtils getServerSaveBlock:^(BaseObject *baseObject, NSDictionary *header, NSInteger errorCode) {

__strong typeof(weakSelf) strongSelf = weakSelf;

[strongSelf hideHud];

if (baseObject.success) {

[strongSelf showHint:@"保存成功"];

}else

{

[strongSelf showHint:@"保存失败"];

}

} serverPackages:dataSource];

相关文章

网友评论

      本文标题:Invalid type in JSON write (Sign

      本文链接:https://www.haomeiwen.com/subject/pfgeettx.html