File tree 2 files changed +2
-25
lines changed
2 files changed +2
-25
lines changed Original file line number Diff line number Diff line change @@ -61,19 +61,6 @@ NS_ASSUME_NONNULL_BEGIN
61
61
*/
62
62
+ (instancetype )zoneAs0 ;
63
63
64
- /* *
65
- * zone fog-cn-east-1 雾存储 华东-1
66
- * 分片上传暂时仅支持分片 api v2
67
- * 分片 api v2设置方式:配置 QNConfiguration 的 resumeUploadVersion 为 QNResumeUploadVersionV2
68
- * eg:
69
- * QNConfiguration *configuration = [QNConfiguration build:^(QNConfigurationBuilder *builder) {
70
- * builder.resumeUploadVersion = QNResumeUploadVersionV2;
71
- * }];
72
- *
73
- * @return 实例
74
- */
75
- + (instancetype )zoneFogCnEast1 ;
76
-
77
64
/* *
78
65
* Zone初始化方法
79
66
*
Original file line number Diff line number Diff line change @@ -94,24 +94,14 @@ + (instancetype)zoneAs0 {
94
94
return zAs0;
95
95
}
96
96
97
- + (instancetype )zoneFogCnEast1 {
98
- static QNFixedZone *zFogCnEast1 = nil ;
99
- static dispatch_once_t onceToken;
100
- dispatch_once (&onceToken, ^{
101
- zFogCnEast1 = [[QNFixedZone alloc ] initWithUpDomainList: @[@" upload-fog-cn-east-1.qiniup.com" ,
102
- @" up-fog-cn-east-1.qiniup.com" ]
103
- oldUpList: nil
104
- regionId: @" fog-cn-east-1" ];;
105
- });
106
- return zFogCnEast1;
107
- }
108
-
109
97
+ (QNFixedZone *)localsZoneInfo {
110
98
111
99
NSArray *zones = @[[QNFixedZone zone0 ],
112
100
[QNFixedZone zone1 ],
113
101
[QNFixedZone zone2 ],
102
+ [QNFixedZone zoneCnEast2 ],
114
103
[QNFixedZone zoneNa0 ],
104
+ [QNFixedZone zoneNorthEast1 ],
115
105
[QNFixedZone zoneAs0 ]];
116
106
117
107
NSMutableArray <QNZoneInfo *> *zoneInfoArray = [NSMutableArray array ];
You can’t perform that action at this time.
0 commit comments