This commit is contained in:
hrxiang
2022-04-01 18:25:52 +08:00
parent 57340e52a7
commit 71897bcb4e
20 changed files with 276 additions and 40 deletions

View File

@@ -355,6 +355,13 @@ class IMManager {
/// 获取当前登录用户信息
Future<UserInfo> getLoginUserInfo() async => uInfo;
/// wakeup
Future wakeUp({String? operationID}) => _channel.invokeMethod(
'wakeUp',
_buildParam({
'operationID': Utils.checkOperationID(operationID),
}));
static Map _buildParam(Map param) {
param["ManagerName"] = "imManager";
return param;