Ei kuvausta

DSBResponseHeader.h 523B

123456789101112131415161718192021222324
  1. //
  2. // DSBResponseHeader.h
  3. // FirstLink
  4. //
  5. // Created by ascii on 2016/12/6.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. typedef NS_ENUM(NSUInteger, DSBResponseCode) {
  10. DSBResponseCodeUnknow = 0,
  11. DSBResponseCodeNormal = 1,
  12. DSBResponseCodeBussinessException = 42000,
  13. DSBResponseCodeAccessException = 46000,
  14. };
  15. @interface DSBResponseHeader : NSObject
  16. @property (nonatomic, assign) DSBResponseCode code;
  17. @property (nonatomic, strong) NSString *msg;
  18. @end