iOS如何接收服务端返回的布尔值时间:2023-03-09 16:18:23 if ([user[@"chat"] boolValue]) { userModel.chat = ; }else { userModel.chat = ; } 关键是要调用boolValue, 直接接收的话值是不对的