29 lines
587 B
Objective-C
29 lines
587 B
Objective-C
//
|
|
// LoginProtocol.h
|
|
// YUMI
|
|
//
|
|
// Created by zu on 2021/9/1.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol LoginProtocol <NSObject>
|
|
@optional
|
|
- (void)loginThirdPartSuccess;
|
|
- (void)loginSuccess;
|
|
- (void)emailCodeSucess:(NSString *)message;
|
|
- (void)emailCodeFailure;
|
|
///请求手机号的验证码成功
|
|
- (void)phoneSmsCodeSuccess:(NSString *)message;
|
|
- (void)phoneSmsCodeFailure;
|
|
///手机号登录成功
|
|
- (void)loginWithPhoenSuccess;
|
|
- (void)loginWithEmailSuccess;
|
|
///登录失败
|
|
- (void)loginFailWithMsg:(NSString *)msg;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|