RQHTTPService+RQGetActivation.h 929 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // RQHTTPService+RQGetActivation.h
  3. // jiaPei
  4. //
  5. // Created by 张嵘 on 2023/1/14.
  6. // Copyright © 2023 JCZ. All rights reserved.
  7. //
  8. #import "RQHTTPService.h"
  9. #define RQ_GET_Activation @"https://jsjp-admin.zzxcx.net/jsjp-admin/open-api/gzpt/userInfo/activa"
  10. @interface RQActivationModel : RQBaseModel
  11. /// 是否激活 0未激活 1已激活 2 已退款
  12. @property (nonatomic , readwrite, assign) NSInteger isActive;
  13. /// 是否合作 0未合作 1已合作
  14. @property (nonatomic , readwrite, assign) BOOL isShare;
  15. /// 用户ID
  16. @property (nonatomic , readwrite, assign) NSInteger userId;
  17. @end
  18. NS_ASSUME_NONNULL_BEGIN
  19. @interface RQHTTPService (RQGetActivation)
  20. /**
  21. 获取学员合作与激活状态
  22. @param userId 用户Id
  23. @return Returns a signal which will send complete, or error.
  24. */
  25. - (RACSignal *)getActivationWithUserId:(NSString *)userId;
  26. @end
  27. NS_ASSUME_NONNULL_END