時(shí)間:2023-05-12 21:18:02 | 來源:網(wǎng)站運(yùn)營
時(shí)間:2023-05-12 21:18:02 來源:網(wǎng)站運(yùn)營
im即時(shí)通訊軟件app源碼-仿微信-開發(fā)日記:只做開發(fā)記錄,不售賣源碼,要源碼者勿擾,謝謝!/// 添加群成員Future<bool> addGroupMemberById(String id, List list) async { try { Map data = {"id": id, "clientList": list}; var resData = await HttpUtils.request('/oauth/netty-room/invite-to-room', desc: '添加群成員', method: HttpUtils.POST, isAuth: true, data: data); return resData > 0; } on ApiResponseEntity catch (e) { ToastUtils.showHint(HttpErrorCode.getErrorMessage(e.code.toString())); LoggerService.to.logger.e(HttpErrorCode.getErrorMessage(e.code.toString()), 'http-error'); return false; } catch (e) { LoggerService.to.logger.e(e, 'system'); return false; }}/// 管理員撤回群消息Future<bool> delGroupChatMessage(String id, String roomId) async { try { var resData = await HttpUtils.request( '/oauth/netty-msg/room/$roomId/delete/$id', desc: '管理員撤回群消息', method: HttpUtils.PATCH, isAuth: true, ); return resData > 0; } on ApiResponseEntity catch (e) { ToastUtils.showHint(HttpErrorCode.getErrorMessage(e.code.toString())); LoggerService.to.logger.e(HttpErrorCode.getErrorMessage(e.code.toString()), 'http-error'); return false; } catch (e) { LoggerService.to.logger.e(e, 'system'); return false; }}
關(guān)鍵詞:日記,通訊
客戶&案例
營銷資訊
關(guān)于我們
微信公眾號
版權(quán)所有? 億企邦 1997-2025 保留一切法律許可權(quán)利。