No Description

MtopService.h 570B

123456789101112131415161718192021222324252627282930
  1. //
  2. // MtopService.h
  3. // mtopext
  4. //
  5. // Created by 亿刀/禚来强 on 16/6/15.
  6. // Copyright © 2016年 亿刀/禚来强. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @class MtopExtRequest;
  10. @protocol MtopLoginProtocol;
  11. @protocol MtopAuthProtocol;
  12. NS_ASSUME_NONNULL_BEGIN
  13. @interface MtopService : NSObject
  14. + (instancetype)shareInstance;
  15. - (void)installCustomLoginModule:(id<MtopLoginProtocol>)loginHandler;
  16. - (void)installCustomAuthModule:(id<MtopAuthProtocol>)authHandler;
  17. - (void)async_call:(MtopExtRequest *)request;
  18. @end
  19. NS_ASSUME_NONNULL_END