Commit a3389ea0b91336fcd0691fa571d4164577792487
1 parent
f14dbabc
0.3.7 版本 扫码支付成功
Showing
4 changed files
with
11 additions
and
1 deletions
CNLiveNewIMAManagerKit.podspec
CNLiveNewIMAManagerKit/Classes/Playform/IMAConversationManager.m
| ... | ... | @@ -1080,6 +1080,12 @@ |
| 1080 | 1080 | [[NSNotificationCenter defaultCenter] postNotificationName:kIMAMSG_CommunityPaySuccessNotification object:nil userInfo:dic]; |
| 1081 | 1081 | isBreak = YES; |
| 1082 | 1082 | } |
| 1083 | + else if ([dic[@"type"] integerValue] == CustomMsgTypeScanPaySuccess) | |
| 1084 | + { | |
| 1085 | + //扫码支付成功 | |
| 1086 | + [[NSNotificationCenter defaultCenter] postNotificationName:kIMAMSG_ScanPaySuccessNotification object:nil userInfo:dic]; | |
| 1087 | + isBreak = YES; | |
| 1088 | + } | |
| 1083 | 1089 | return isBreak; |
| 1084 | 1090 | } |
| 1085 | 1091 | ... | ... |
CNLiveNewIMAManagerKit/Classes/PublicHeader/IMANotification.h
| ... | ... | @@ -169,5 +169,7 @@ static NSString *const kIMAMSG_OnNewMessageNotification = @"kIMAMSG_OnNewMessage |
| 169 | 169 | |
| 170 | 170 | #pragma mark 社区支付成功 |
| 171 | 171 | static NSString *const kIMAMSG_CommunityPaySuccessNotification = @"kIMAMSG_CommunityPaySuccessNotification"; |
| 172 | +#pragma mark 扫码支付成功 | |
| 173 | +static NSString *const kIMAMSG_ScanPaySuccessNotification = @"kIMAMSG_ScanPaySuccessNotification"; | |
| 172 | 174 | |
| 173 | 175 | #endif /* IMANotification_h */ | ... | ... |
CNLiveNewIMAManagerKit/Classes/TIMModel/MSG/IMAMsg.h