@@ -12,8 +12,8 @@ @interface MYApiRequestBaseObject ()
12
12
13
13
@property (nonatomic , assign ) NSInteger timeout;
14
14
@property (nonatomic , copy ) NSString *urlString;
15
- @property (nonatomic , copy ) NSString *token;
16
- @property (nonatomic , copy ) NSString *machine_type;
15
+ @property (nonatomic , copy ) NSString *token;// 请求的基本参数,可自行更改
16
+ @property (nonatomic , copy ) NSString *machine_type;// 请求的基本参数,可自行更改
17
17
@property (nonatomic , assign ) MY_APIREQUEST_TYPE requestType;
18
18
@property (nonatomic , copy ) NSString *requestTag;
19
19
@@ -46,17 +46,15 @@ - (instancetype)init
46
46
{
47
47
if (self = [super init ]) {
48
48
49
- // if (User_is_login) {
50
- // _token = [User sharedUser].userInfo.token;
51
- // }
52
- _machine_type = @" ios" ;
49
+ _token = @" 获取的本地token" ;
50
+ _machine_type = @" iOS" ;
53
51
}
54
52
return self;
55
53
}
56
54
57
-
55
+ // 忽略
58
56
+ (NSArray *)modelPropertyBlacklist {
59
- return @[@" urlString" , @" requestType" ,@" baseUrl" ,@" timeout" ];
57
+ return @[@" urlString" , @" requestType" ,@" baseUrl" ,@" timeout" , @" localCache " , @" task " ];
60
58
}
61
59
62
60
- (NSString *)description
0 commit comments