-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathServerceInterfaceManager+Account.h
59 lines (45 loc) · 1.73 KB
/
ServerceInterfaceManager+Account.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//
// ServerceInterfaceManager+Account.h
//
//
// Created by LEI.FY on 2019/8/26.
// Copyright LEI.FY. All rights reserved.
//
#import "ServerceInterfaceManager.h"
NS_ASSUME_NONNULL_BEGIN
@interface ServerceInterfaceManager (Account)
/*1.登录注册相关****************************************/
/**
注册
@param phoneNum 用户名
@param password 密码
@param msgAuthCode 验证码
@param nickName 昵称
@param country 国家
@param finishBlock 请求成功回调
@param failedBlock 请求失败回调
@param businesBlock 业务数据异常回调
*/
-(id)userRegisterByPhone:(NSString *)phoneNum
password:(NSString *)password
msgAuthCode:(NSString *)msgAuthCode
nickName:(NSString *)nickName
country:(NSString *)country
finishBlock:(ServiceFinishBlock)finishBlock
failedBlock:(ServiceFailedBlock)failedBlock
businesBlock:(ServiceBusinesFailedBlock)businesBlock;
/**
登录 用户名=手机号
@param phoneNum 手机号
@param password 密码
@param finishBlock 请求成功回调
@param failedBlock 请求失败回调
@param businesBlock 业务数据异常回调
*/
-(id)userLoginByPhone:(NSString *)phoneNum
password:(NSString *)password
finishBlock:(ServiceFinishBlock)finishBlock
failedBlock:(ServiceFailedBlock)failedBlock
businesBlock:(ServiceBusinesFailedBlock)businesBlock;
@end
NS_ASSUME_NONNULL_END