2.2.0版本发版 此commit置顶

This commit is contained in:
liyuhua
2023-11-01 20:41:20 +08:00
parent 44ff9e9813
commit 994cdffa71

View File

@@ -37,7 +37,14 @@
} }
- (void)clientInit { - (void)clientInit {
self.canOpen = NO;
#ifdef DEBUG
self.canOpen = YES;
#else
self.canOpen = NO;
#endif
[Api clientInitConfig:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) { [Api clientInitConfig:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
if (code == 200) { if (code == 200) {
self.retryCount = 0; self.retryCount = 0;