// // RQHTTPService+RQIsUsePhone.m // YYXC // // Created by 张嵘 on 2022/12/19. // Copyright © 2022 JCZ. All rights reserved. // #import "RQHTTPService+RQIsUsePhone.h" @implementation RQHTTPService (RQIsUsePhone) /** 获取服务器时间 @return Returns a signal which will send complete, or error. */ - (RACSignal *)getIsUsePhone { /// 1. 配置参数 RQKeyedSubscript *subscript = [RQKeyedSubscript subscript]; subscript[@"outId"] = defUser.userDict[@"outId"]; subscript[@"dqbh"] = defUser.userDict[@"city"]; /// 2. 配置参数模型 RQURLParameters *paramters = [RQURLParameters urlParametersWithMethod:RQ_HTTTP_METHOD_POST path:RQ_POST_IsUsePhone parameters:subscript.dictionary]; /// 3.发起请求 return [[[RQHTTPRequest requestWithParameters:paramters] enqueueResultClass:nil] rq_parsedResults]; } @end