天天省钱快报

KBUMbindWeChat.h 677B

1234567891011121314151617181920212223242526
  1. //
  2. // KBUMbindWeChat.h
  3. // YouHuiProject
  4. //
  5. // Created by jcymac on 2018/5/25.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UMSocialCore/UMSocialCore.h>
  10. @interface KBUMbindWeChat : NSObject
  11. /**
  12. //单例
  13. @return 单例对象
  14. */
  15. +(instancetype)sharedInstance;
  16. -(void)bindWeChatSuccess:(void(^)(UMSocialUserInfoResponse *response))succ fail:(void(^)(NSError *error))fail;
  17. - (void)loginWithPlatformSuccess:(void(^)(UMSocialUserInfoResponse *response))response fail:(void(^)(NSError *error))fail;
  18. - (void)loginWeChatSuccess:(void(^)(UMSocialUserInfoResponse *response))succ fail:(void(^)(NSError *error))fail;
  19. @end