猎豆优选

AlibcMtopCmd.h 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * AlibcMtopCmd.h
  3. *
  4. * 阿里百川电商
  5. * 项目名称:阿里巴巴电商 AlibcTradeBiz
  6. * 版本号:4.0.0.2
  7. * 发布时间:2019-09-15
  8. * 开发团队:阿里巴巴商家服务引擎团队
  9. * 阿里巴巴电商SDK答疑群号:1488705339 2071154343(阿里旺旺)
  10. * Copyright (c) 2016-2020 阿里巴巴-淘宝-百川. All rights reserved.
  11. */
  12. #import <Foundation/Foundation.h>
  13. #ifndef AlibcMtopCmd_h
  14. #define AlibcMtopCmd_h
  15. @interface AlibcMtopCmd : NSObject
  16. @property(nonatomic, strong) NSString *_Nonnull name; // mtop命令
  17. @property(nonatomic, strong) NSString *_Nonnull version; //版本,默认是@"1.0"
  18. @property(nonatomic, assign) BOOL needLogin; //是否需要登录,默认值:NO
  19. @property(nonatomic, assign) BOOL needAuth; //是否需要授权,默认值:NO
  20. @property(nonatomic, assign) BOOL needWUA; //是否需要人机识别,默认是NO
  21. @property(nonatomic, assign) BOOL needPost;
  22. @property(nonatomic, assign) NSInteger sessionExpireType; // 0: AutologinAndManualLogin 1: AutoLoginOnly
  23. //
  24. @property(nonatomic, copy) NSString * _Nullable ttid;// ttid
  25. + (nonnull instancetype)cmd;
  26. @end
  27. #endif