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