12345678910111213141516171819202122232425262728 |
- //
- // RQHTTPService+FiveTeaching.m
- // jiaPei
- //
- // Created by Ning.ge on 2025/2/12.
- // Copyright © 2025 JCZ. All rights reserved.
- //
- #import "RQHTTPService+FiveTeaching.h"
- @implementation RQHTTPService (FiveTeaching)
- - (RACSignal *)getFiveTeachingList:(NSString *)videoSubiect {
- /// 1. 配置参数
- RQKeyedSubscript *subscript = [RQKeyedSubscript subscript];
- subscript[@"state"] = @"1";
- subscript[@"videoSubject"] = videoSubiect;
- /// 2. 配置参数模型
- RQURLParameters *paramters = [RQURLParameters urlParametersWithMethod:RQ_HTTTP_METHOD_GET path:RQ_GET_FiveTeaching parameters:subscript.dictionary];
-
- /// 3.发起请求
- return [[[RQHTTPRequest requestWithParameters:paramters]
- enqueueResultClass:[RQPlaceVideoListModel class]]
- rq_parsedResults];
- }
- @end
|