暫無描述

InviteCodeViewModel.h 741B

123456789101112131415161718192021222324
  1. //
  2. // InviteCodeViewModel.h
  3. // FirstLink
  4. //
  5. // Created by ascii on 15/6/27.
  6. // Copyright (c) 2015年 FirstLink. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "FKInviteShareItem.h"
  10. @interface InviteCodeViewModel : NSObject
  11. + (void)requestInviteCodeSuccess:(void (^)(MSGHeader *header, id responseObject))success
  12. failure:(void (^)(MSGHeader *header, NSError *error))failure;
  13. + (void)requestShareURL:(NSString*)channel
  14. success:(void (^)(MSGHeader *header, FKInviteShareItem* shareItem))success
  15. failure:(void (^)(MSGHeader *header, NSError *error))failure;
  16. + (NSString*)parseCode:(NSDictionary *)json;
  17. + (NSArray *)parserInviteList:(NSDictionary *)json;
  18. @end