123456789101112131415161718192021222324 |
- //
- // RQHTTPService+RQGetJsjpSet.m
- // jiaPei
- //
- // Created by 张嵘 on 2022/7/22.
- // Copyright © 2022 JCZ. All rights reserved.
- //
- #import "RQHTTPService+RQGetJsjpSet.h"
- @implementation RQHTTPService (RQGetJsjpSet)
- - (RACSignal *)getJsjpSet {
- /// 1. 配置参数
- RQKeyedSubscript *subscript = [RQKeyedSubscript subscript];
- /// 2. 配置参数模型
- RQURLParameters *paramters = [RQURLParameters urlParametersWithMethod:RQ_HTTTP_METHOD_GET path:RQ_GET_JSJP_SET parameters:subscript.dictionary];
-
- /// 3.发起请求
- return [[[RQHTTPRequest requestWithParameters:paramters]
- enqueueResultClass:[RQDictInfoModel class]]
- rq_parsedResults];
- }
- @end
|