- (void)sendUpdateUserRequest
{
//添加等待
[MBProgressHUD showHUDWithText:@"正在更新,请稍候···"
toView:selfnavigationControllerview animated:YES];
NSMutableDictionary headDict=[[NSMutableDictionary alloc] init];
NSMutableDictionary dataDict=[[NSMutableDictionary alloc] init];
//组装数据,只是一个例子,可以添加你想要的属性以及值
[headDict setObject:@"user" forKey:@"function"];
[dataDict setObject:_useridLabeltext forKey:@"userid"];
//要发送的数据
NSDictionary jsonDict=[NSDictionary
dictionaryWithObjectsAndKeys:headDict,@"head",dataDict,@"data",nil];
AF>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)