《省钱达人》与《猎豆优选》UI相同版。域名tbk

DRUMbindWeChat.h 677B

1234567891011121314151617181920212223242526
  1. //
  2. // DRUMbindWeChat.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 DRUMbindWeChat : 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