123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //
- // FKLogEntity.h
- // FirstLink
- //
- // Created by ascii on 16/4/13.
- // Copyright © 2016年 FirstLink. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- /**
- * 应答日志参数实体
- */
- @interface FKLogTransformEntity : NSObject
- @property (nonatomic, strong) NSString *net;
- /** 返回logCode定义:
- 404: Not Found
- 502: Bad Gateway
- 600: High Delay
- */
- @property (nonatomic, strong) NSString *code;
- @property (nonatomic, strong) NSString *rtt;
- @property (nonatomic, strong) NSString *size;
- /**
- * JSON字符串, 健值对如下
- method : get/post
- url : http://ip/link-site/api/user_score/get_share_user_score.json
- para : 请求参数
- status : 404/502
- desc : error description
- */
- @property (nonatomic, strong) NSString *extString;
- - (instancetype)initWithRTT:(NSInteger)rtt
- size:(NSString *)size
- method:(NSString *)method
- url:(NSString *)url
- para:(NSDictionary *)para
- status:(NSInteger)status
- desc:(NSString *)desc;
- @end
|