RQHTTPService+RQGetUpdateQuestion.m 869 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // RQHTTPService+RQGetUpdateQuestion.m
  3. // jiaPei
  4. //
  5. // Created by 张嵘 on 2022/10/10.
  6. // Copyright © 2022 JCZ. All rights reserved.
  7. //
  8. #import "RQHTTPService+RQGetUpdateQuestion.h"
  9. @implementation RQHTTPService (RQGetUpdateQuestion)
  10. /**
  11. 查询UpdateQuestion字典
  12. @return Returns a signal which will send complete, or error.
  13. */
  14. - (RACSignal *)getUpdateQuestion {
  15. /// 1. 配置参数
  16. RQKeyedSubscript *subscript = [RQKeyedSubscript subscript];
  17. // subscript[@""] = @"";
  18. /// 2. 配置参数模型
  19. RQURLParameters *paramters = [RQURLParameters urlParametersWithMethod:RQ_HTTTP_METHOD_GET path:RQ_GET_UPDATE_QUESTION parameters:subscript.dictionary];
  20. /// 3.发起请求
  21. return [[[RQHTTPRequest requestWithParameters:paramters]
  22. enqueueResultClass:[RQDictInfoModel class]]
  23. rq_parsedResults];
  24. }
  25. @end