标签:
网络请求
- 是否异步
- 参数字典 (本身参数 系统环境参数, 默认参数)
- 遮罩层
- 报错提示
- url
网络参数类(RequestParam)
userid: NSString *
entid: NSString *
appid: NSString *
secret: NSString *
paramDict: NSDictionary *
+ (instancetype) DefaultRequestParam;
+ (void)setSharedRequestParam;
网络请求类 (HbbNetworkRequest)
url: NSString *
method: NSString *
keyName: NSString *
sync: BOOL
autoEscape: BOOL
logTip: BOOL
requestParam: RequestParam *
- (instancetype)initWith url method keyName requestParam
普通网络请求类
CommonHbbNetworkRequest : HbbNetworkRequest
url = [从环境组件中拿取common网络url]
PinanBannkHbbNetworkRequest : HbbNetworkRequest
url = [从环境组件中拿取平安银行网络url]
标签:
原文地址:http://www.cnblogs.com/apem/p/5332592.html