Explorar o código

不在群组弹窗

Steven hai 1 ano
pai
achega
c844226a3e

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Chat/Controller/KSGroupConversationController.m

@@ -81,7 +81,7 @@
              if ([dic ks_integerValueForKey:@"code"] == 204) {
                 // 弹窗提示是否删除群组
                 MJWeakSelf;
-                self.alertView = [KSPublicAlertView shareInstanceWithTitle:@"提示" descMessage:@"你已退出当前群聊,是否删除聊天记录?" leftTitle:@"取消" rightTitle:@"确定" cancelAction:^{
+                self.alertView = [KSPublicAlertView shareInstanceWithTitle:@"提示" descMessage:MESSAGEKEY leftTitle:@"取消" rightTitle:@"确定" cancelAction:^{
                     
                 } sureAction:^{
                     [weakSelf removeCurrentConversation];

+ 5 - 0
KulexiuForStudent/KulexiuForStudent/Module/Chat/Group/Controller/GroupSettingViewController.m

@@ -92,6 +92,11 @@
             NSDictionary *subDic = [dic ks_dictionaryValueForKey:@"data"];
             self.sourceModel = [[GroupListModel alloc] initWithDictionary:subDic];
         }
+        else if ([dic ks_integerValueForKey:@"code"] == 204) {
+            [LOADING_MANAGER KSShowMsg:@"获取群信息失败" promptCompletion:^{
+                [self backAction];
+            }];
+        }
         else {
             [LOADING_MANAGER MBShowAUTOHidingInWindow:MESSAGEKEY];
         }