酷店

ALBBEnvConfig.h 678B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // aluEnvConfig.h
  3. // AliUniversalAccount
  4. //
  5. // Created by ethan on 12/14/15.
  6. // Copyright © 2015 Alipay. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /** 环境 */
  10. typedef NS_ENUM (NSUInteger, ALBBEnvironment) {
  11. /** 测试环境 */
  12. ALBBEnvironmentDaily,
  13. /** 预发环境 */
  14. ALBBEnvironmentPreRelease,
  15. /** 线上环境 */
  16. ALBBEnvironmentRelease,
  17. };
  18. @interface ALBBEnvConfig : NSObject
  19. @property (nonatomic, strong)NSString *additional;
  20. + (instancetype)shareInstance;
  21. - (void) setGWServerSettings:(ALBBEnvironment) env;
  22. - (BOOL) isDaily;
  23. - (BOOL) isPre;
  24. - (BOOL) isOnline;
  25. - (void)setSecAdditional:(NSString *)additional;
  26. @end