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 108 __strong typeof(weakSelf) strongSelf = weakSelf;
109 109 if(!strongSelf) return;
110 110 [QMUITips hideAllToastInView:strongSelf animated:YES];
111   - if(!error){
  111 + if(!error&&[responseObject isKindOfClass:[NSDictionary class]]){
112 112 //对content 先加密 再转为 json 字符串
113 113 NSDictionary *dic = (NSDictionary *)responseObject;
114 114 // NSDictionary *dic = @{@"content":[EncryptAndDecrypt base64StringFromText:data[@"qrcode"] encryptKey:AppDESKey],@"type":@"user"};
... ...