// // RQHTTPService+RQGetYyxcSet.m // YYXC // // Created by 张嵘 on 2023/3/15. // Copyright © 2023 JCZ. All rights reserved. // #import "RQHTTPService+RQGetYyxcSet.h" #define RQ_GET_YYXC_SET @"https://nbjk.zzxcx.net/nbjk-admin/open-api/system/dict/data/type/yyxc_set" @implementation RQHTTPService (RQGetYyxcSet) - (RACSignal *)getYyxcSet { /// 1. 配置参数 RQKeyedSubscript *subscript = [RQKeyedSubscript subscript]; /// 2. 配置参数模型 RQURLParameters *paramters = [RQURLParameters urlParametersWithMethod:RQ_HTTTP_METHOD_GET path:RQ_GET_YYXC_SET parameters:subscript.dictionary]; /// 3.发起请求 return [[[RQHTTPRequest requestWithParameters:paramters] enqueueResultClass:[RQDictInfoModel class]] rq_parsedResults]; } @end