// // RQHTTPService+RQGetPlaceVipList.m // JiaPei // // Created by 张嵘 on 2023/4/20. // #import "RQHTTPService+RQGetPlaceVipList.h" @implementation RQPlaceVipListModel @end @implementation RQHTTPService (RQGetPlaceVipList) /** 查询当前用户考试会员列表 @return Returns a signal which will send complete, or error. */ - (RACSignal *)getPlaceVipList { /// 1. 配置参数 RQKeyedSubscript *subscript = [RQKeyedSubscript subscript]; /// 用户id subscript[@"userId"] = RQ_USER_MANAGER.currentUser._id; /// 2. 配置参数模型 RQURLParameters *paramters = [RQURLParameters urlParametersWithMethod:RQ_HTTTP_METHOD_GET path: RQ_GET_PlaceVipList parameters:subscript.dictionary]; /// 3.发起请求 return [[[RQHTTPRequest requestWithParameters:paramters] enqueueResultClass:[RQPlaceVideoListModel class]] rq_parsedResults]; } @end