//
//  ICUserManager.h
//  superCleaner
//
//  Created by Mazy on 2020/7/7.
//  Copyright © 2020 Mazy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ZTUserInfoModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface ICUserManager : NSObject

+ (instancetype)shared;

- (NSString *)token;

- (NSString *)uid;

- (BOOL)isMember;

- (NSDictionary *)h5_url;

// 获取用户信息
-(void)loginAndGetUserInfo: (void(^)(ZTUserInfoModel *model))success failure:(void(^)(void))failure;

- (void)getUserInfo: (void(^)(ZTUserInfoModel *model))success failure:(void(^)(void))failure;

- (void)getServiceInfo;
    
@property(nonatomic, strong) ZTUserInfoModel *model;
@property(nonatomic, strong) NSString *network;

@end

NS_ASSUME_NONNULL_END
