UserModel.h 604 B

123456789101112131415161718192021222324252627
  1. //
  2. // UserModel.h
  3. // AICity
  4. //
  5. // Created by 刘伟伟 on 2023/7/11.
  6. // Copyright © 2023 wei.z. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface UserModel : NSObject
  11. + (instancetype)shareInstance;
  12. @property(nonatomic,copy)NSString *token;
  13. @property(nonatomic,assign)BOOL isLogin;
  14. +(NSString *)userToken;
  15. +(void)addCollect:(NSDictionary *)d;
  16. +(void)delCollect:(NSDictionary *)d;
  17. +(NSArray *)getCollect;
  18. +(BOOL)collectContainVid:(int)vid;
  19. +(UIImage *)imageWithColor:(UIColor *)color;
  20. +(void)addHistoryPlay:(NSDictionary *)d;
  21. @end
  22. NS_ASSUME_NONNULL_END