JXShareUser.h 847 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // JXShareUser.h
  3. // share
  4. //
  5. // Created by 1 on 2019/3/21.
  6. // Copyright © 2019年 Reese. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface JXShareUser : NSObject
  10. @property (nonatomic,strong) NSString* userId;//房间时,等于roomJid
  11. @property (nonatomic,strong) NSString* roomId;//接口的roomId
  12. @property (nonatomic,strong) NSString* userNickname;
  13. @property (nonatomic,strong) NSString* remarkName; // 备注
  14. @property (nonatomic,strong) NSArray* role; // 身份 1=游客(用于后台浏览数据);2=公众号 ;3=机器账号,由系统自动生成;4=客服账号;5=管理员;6=超级管理员;7=财务;
  15. + (instancetype)shareInstance;
  16. // 获取好友列表
  17. - (NSMutableArray *)getAllUser;
  18. // 搜索聊天记录
  19. -(NSArray <JXShareUser *>*)fetchSearchUserWithString:(NSString *)str;
  20. @end