暂无描述

AlibcJSBridgeParam.h 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * AlibcJSBridgeParam.h
  3. *
  4. * 阿里百川电商
  5. * 项目名称:阿里巴巴电商 AlibcTradeCommon
  6. * 版本号:3.1.1.200
  7. * 发布时间:2017-08-21
  8. * 开发团队:阿里巴巴百川商业化团队
  9. * 阿里巴巴电商SDK答疑群号:1488705339 2071154343(阿里旺旺)
  10. * Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
  11. */
  12. #import <Foundation/Foundation.h>
  13. #ifndef AlibcJSBridgeParam_h
  14. #define AlibcJSBridgeParam_h
  15. @interface AlibcJSBridgeParam : NSObject
  16. @property(nonatomic, copy) NSString *className;
  17. @property(nonatomic, copy) NSString *requestId;
  18. @property(nonatomic, copy) NSString *methodName;
  19. @property(nonatomic, copy) NSDictionary *param;
  20. - (instancetype)initWithURL:(NSURL *)url;
  21. - (BOOL)isDataRight;
  22. @end
  23. @interface AlibcJSBridgeResult : NSObject
  24. @property(nonatomic, strong) NSString *code;
  25. @property(nonatomic, strong) NSString *msg;
  26. @property(nonatomic, strong) NSDictionary *data;
  27. + (instancetype)build:(NSDictionary *)data;
  28. + (instancetype)build:(NSString *)code message:(NSString *)message data:(NSDictionary *)data;
  29. @end
  30. #endif