// // RQHTTPService+RQGetDspList.m // SDJK // // Created by RONGQING on 2022/1/19. // #import "RQHTTPService+RQGetDspList.h" @implementation RQHTTPService (RQGetDspList) /** 查询学车短视频列表 @return Returns a signal which will send complete, or error. */ - (RACSignal *)getDspList { /// 1. 配置参数 RQKeyedSubscript *subscript = [RQKeyedSubscript subscript]; // subscript[@""] = @""; /// 2. 配置参数模型 RQURLParameters *paramters = [RQURLParameters urlParametersWithMethod:RQ_HTTTP_METHOD_GET path:RQ_GET_DspList parameters:subscript.dictionary]; /// 3.发起请求 return [[[RQHTTPRequest requestWithParameters:paramters] enqueueResultClass:[VideosItem class]] rq_parsedResults]; } @end