1234567891011121314151617181920212223242526272829 |
- //
- // RQHTTPService+RQGetUpdateQuestion.m
- // jiaPei
- //
- // Created by 张嵘 on 2022/10/10.
- // Copyright © 2022 JCZ. All rights reserved.
- //
- #import "RQHTTPService+RQGetUpdateQuestion.h"
- @implementation RQHTTPService (RQGetUpdateQuestion)
- /**
- 查询UpdateQuestion字典
- @return Returns a signal which will send complete, or error.
- */
- - (RACSignal *)getUpdateQuestion {
- /// 1. 配置参数
- RQKeyedSubscript *subscript = [RQKeyedSubscript subscript];
- // subscript[@""] = @"";
-
- /// 2. 配置参数模型
- RQURLParameters *paramters = [RQURLParameters urlParametersWithMethod:RQ_HTTTP_METHOD_GET path:RQ_GET_UPDATE_QUESTION parameters:subscript.dictionary];
-
- /// 3.发起请求
- return [[[RQHTTPRequest requestWithParameters:paramters]
- enqueueResultClass:[RQDictInfoModel class]]
- rq_parsedResults];
- }
- @end
|