1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

44 lines
891 B
C
Raw Normal View History

2020-07-07 20:10:43 +08:00
//
// AFServiceResponse.h
// AFServiceSDK
//
// Created by jiajunchen on 08/01/2018.
// Copyright © 2018 antfin. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
- AFResSuccess: result字段
- AFResInvalidService: service枚举值错误
- AFResInvalidURL: URL错误
- AFResRepeatCall: 3s内
- AFResOpenURLErr:
*/
typedef NS_ENUM(NSUInteger, AFResCode) {
AFResSuccess = 0,
AFResInvalidService = 100,
AFResInvalidURL,
AFResRepeatCall,
AFResOpenURLErr,
};
@interface AFServiceResponse : NSObject
/**
*/
@property (nonatomic, assign) AFResCode responseCode;
/**
Dictionary,
*/
@property (readonly) NSDictionary *result;
@end