Commit a3389ea0b91336fcd0691fa571d4164577792487

Authored by daojian
1 parent f14dbabc

0.3.7 版本 扫码支付成功

CNLiveNewIMAManagerKit.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveNewIMAManagerKit'
11   - s.version = '0.3.6'
  11 + s.version = '0.3.7'
12 12 s.summary = 'A short description of CNLiveNewIMAManagerKit.'
13 13  
14 14 #s.description = <<-DESC
... ...
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 = @&quot;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
... ... @@ -201,6 +201,8 @@ typedef NS_ENUM(NSUInteger, CustomMsgType) {
201 201  
202 202 CustomMsgTypeBlackStatusChange = 5003, //添加或者移除黑名单,系统通知
203 203  
  204 + ///扫码支付成功
  205 + CustomMsgTypeScanPaySuccess = 5002,
204 206 ///社区支付成功
205 207 CustomMsgTypeCommunityPaySuccess = 5004,
206 208  
... ...