1
This commit is contained in:
@@ -7,9 +7,18 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class KBUser;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
typedef void(^KBMyUserDetailCompletion)(KBUser *_Nullable user, NSError *_Nullable error);
|
||||
|
||||
@interface KBMyVM : NSObject
|
||||
|
||||
/// 获取当前用户详情(/user/detail)
|
||||
- (void)fetchUserDetailWithCompletion:(KBMyUserDetailCompletion)completion;
|
||||
|
||||
/// 退出登录
|
||||
- (void)logout;
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user