123456789101112131415161718192021222324 |
- //
- // InviteCodeViewModel.h
- // FirstLink
- //
- // Created by ascii on 15/6/27.
- // Copyright (c) 2015年 FirstLink. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "FKInviteShareItem.h"
- @interface InviteCodeViewModel : NSObject
- + (void)requestInviteCodeSuccess:(void (^)(MSGHeader *header, id responseObject))success
- failure:(void (^)(MSGHeader *header, NSError *error))failure;
- + (void)requestShareURL:(NSString*)channel
- success:(void (^)(MSGHeader *header, FKInviteShareItem* shareItem))success
- failure:(void (^)(MSGHeader *header, NSError *error))failure;
- + (NSString*)parseCode:(NSDictionary *)json;
- + (NSArray *)parserInviteList:(NSDictionary *)json;
- @end
|