getUserOnlineList static method

Future<DataResult> getUserOnlineList(
  1. List<String> ids
)

获取用户信息-在线状态和名字-批量

Implementation

static Future<DataResult> getUserOnlineList(List<String> ids) async {
  Map other = {'ids': ids};
  var res = await BaseDao.fromBaseEncrypt(other, Address.getUserOnlineList());
  if (res.result) {
    var entity = UserStatusEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}