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