123456789101112131415161718192021222324252627 |
- //
- // RQHTTPService+RQPostDeletion.m
- // SDJK
- //
- // Created by 张嵘 on 2022/6/29.
- //
- #import "RQHTTPService+RQPostDeletion.h"
- @implementation RQHTTPService (RQPostDeletion)
- /**
- 注销账号
- @return Returns a signal which will send complete, or error.
- */
- - (RACSignal *)postDeletion {
- /// 1. 配置参数
- RQKeyedSubscript *subscript = [RQKeyedSubscript subscript];
-
- /// 2. 配置参数模型
- RQURLParameters *paramters = [RQURLParameters urlParametersWithMethod:RQ_HTTTP_METHOD_POST path:RQ_POST_Deletion parameters:subscript.dictionary];
-
- /// 3.发起请求
- return [[[RQHTTPRequest requestWithParameters:paramters]
- enqueueResultClass:[RQBaseModel class]]
- rq_parsedResults];
- }
- @end
|