123456789101112131415161718192021222324252627 |
- //
- // RQHTTPService+RQVipInfo.m
- // SDJK
- //
- // Created by 张嵘 on 2021/8/23.
- //
- #import "RQHTTPService+RQVipInfo.h"
- @implementation RQHTTPService (RQVipInfo)
- /**
- vip信息
- @return Returns a signal which will send complete, or error.
- */
- - (RACSignal *)getVipInfo {
- /// 1. 配置参数
- RQKeyedSubscript *subscript = [RQKeyedSubscript subscript];
- /// 2. 配置参数模型
- RQURLParameters *paramters = [RQURLParameters urlParametersWithMethod:RQ_HTTTP_METHOD_GET path:RQ_GET_VipInfo parameters:subscript.dictionary];
-
- /// 3.发起请求
- return [[[RQHTTPRequest requestWithParameters:paramters]
- enqueueResultClass:[RQGetVipInfoModel class]]
- rq_parsedResults];
- }
- @end
|