新增勋章 VIP 控制相关的资源,包括 medals_control_vip4、medals_control_vip6、medals_control_vip7 和 medals_control_vip9 的 Contents.json 文件及其对应的 vip@3x.png 图片,保持代码结构一致性。
This commit is contained in:
@@ -53,12 +53,15 @@
|
||||
}
|
||||
|
||||
- (void)mineAllMedals:(NSInteger)page {
|
||||
@kWeakify(self);
|
||||
[Api medalMineAll:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||
@kStrongify(self);
|
||||
if ([[self getView] respondsToSelector:@selector(mineAllMedalsSuccess:)]) {
|
||||
MineAllMedalModel *m = [MineAllMedalModel modelWithJSON:data.data];
|
||||
[[self getView] mineAllMedalsSuccess:m];
|
||||
}
|
||||
} fail:^(NSInteger code, NSString * _Nullable msg) {
|
||||
@kStrongify(self);
|
||||
if ([[self getView] respondsToSelector:@selector(mineAllMedalsFailure)]) {
|
||||
[[self getView] mineAllMedalsFailure];
|
||||
}
|
||||
|
Reference in New Issue
Block a user