Commit 6c585a2e614e025668575b73fc6d9a78f5cecb0f

Authored by zhangxiaowen
1 parent bc070801

no message

CNLiveQrCodeModule/Classes/View/CNLiveMyQrCodeView.m
@@ -108,7 +108,7 @@ static const CGFloat timeValue = 1.5; @@ -108,7 +108,7 @@ static const CGFloat timeValue = 1.5;
108 __strong typeof(weakSelf) strongSelf = weakSelf; 108 __strong typeof(weakSelf) strongSelf = weakSelf;
109 if(!strongSelf) return; 109 if(!strongSelf) return;
110 [QMUITips hideAllToastInView:strongSelf animated:YES]; 110 [QMUITips hideAllToastInView:strongSelf animated:YES];
111 - if(!error){ 111 + if(!error&&[responseObject isKindOfClass:[NSDictionary class]]){
112 //对content 先加密 再转为 json 字符串 112 //对content 先加密 再转为 json 字符串
113 NSDictionary *dic = (NSDictionary *)responseObject; 113 NSDictionary *dic = (NSDictionary *)responseObject;
114 // NSDictionary *dic = @{@"content":[EncryptAndDecrypt base64StringFromText:data[@"qrcode"] encryptKey:AppDESKey],@"type":@"user"}; 114 // NSDictionary *dic = @{@"content":[EncryptAndDecrypt base64StringFromText:data[@"qrcode"] encryptKey:AppDESKey],@"type":@"user"};