YMRegisterViewModel.h 726 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // YMRegisterViewModel.h
  3. // MSYOUPAI
  4. //
  5. // Created by YoMi on 2024/2/5.
  6. // Copyright © 2024 MS. All rights reserved.
  7. //
  8. #import "MSYOUPAIViewModel.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface YMRegisterViewModel : MSYOUPAIViewModel
  11. /// 注册按钮有效性
  12. @property (nonatomic, strong, readonly) RACSignal *validRegisterSignal;
  13. /// 手机号
  14. @property (nonatomic, copy) NSString *mobile;
  15. /// 验证码
  16. @property (nonatomic, copy) NSString *verifyCode;
  17. /// 密码
  18. @property (nonatomic, copy) NSString *password;
  19. /// 获取验证码
  20. - (void)getVerifyCodeWithCaptcha:(id)captcha handler:(void(^)(NSDictionary *dic, NSError * _Nullable error))handler ;
  21. /// 注册请求
  22. - (void)registerRequest;
  23. @end
  24. NS_ASSUME_NONNULL_END