//发送通知(Name:判断通知的身份,userinfo:字典中存储数据再通知中发出去)
NSNotification * notice = [NSNotification notificationWithName:@"GetRecordData"object:nil userInfo:@{@"fileId":fileUrl1}];
[[NSNotificationCenter defaultCenter]postNotification:notice];
//接收通知(Name:判断通知的身份,@selector(playRecord:):触发的方法)
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(playRecord:)name:@"GetRecordData"object:nil];
//执行方法
- (void)playRecord:(NSNotification*)notice{
NSString *fileId =[notice.userInfo objectForKey:@"fileId"];
[AudioMsgPlayer playWithURL:[[MAServerAdaptor instance] fileDownload:fileId]delegate:self];
}