Commit 498cdc95 cgx

处理APP跳转到小程序审核被拒问题

1 个父辈 8fe68224
...@@ -2515,7 +2515,7 @@ ...@@ -2515,7 +2515,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements; CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 2;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW; DEVELOPMENT_TEAM = 4NDZ6UX8PW;
...@@ -2597,7 +2597,7 @@ ...@@ -2597,7 +2597,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements; CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 2;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW; DEVELOPMENT_TEAM = 4NDZ6UX8PW;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
...@@ -2738,7 +2738,7 @@ ...@@ -2738,7 +2738,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements; CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 2;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW; DEVELOPMENT_TEAM = 4NDZ6UX8PW;
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#import "ProfileTableView.h" #import "ProfileTableView.h"
#import "ProfileHeaderView.h" #import "ProfileHeaderView.h"
#import "WXApi.h"
#pragma mark - ProfileModel #pragma mark - ProfileModel
@interface ProfileModel : NSObject @interface ProfileModel : NSObject
...@@ -20,14 +21,11 @@ ...@@ -20,14 +21,11 @@
@implementation ProfileModel @implementation ProfileModel
+ (NSArray *)getGroupDataArr { + (NSArray *)getGroupDataArr {
NSMutableArray *totalGroupArr = [NSMutableArray array];
NSArray *leftIcon_group1 = @[@"ic_person_fankui_normal", @"ic_person_shezhi_normal", @"ic_person_yaoqing_normal", @"ic_person_guanyuwomen_normal"]; NSArray *leftIcon_group1 = @[@"ic_person_fankui_normal", @"ic_person_shezhi_normal", @"ic_person_yaoqing_normal", @"ic_person_guanyuwomen_normal"];
NSArray *dk_leftIcon_group1 = @[@"dk_ic_person_fankui_normal", @"dk_ic_person_shezhi_normal", @"dk_ic_person_yaoqing_normal", @"dk_ic_person_guanyuwomen_normal"]; NSArray *dk_leftIcon_group1 = @[@"dk_ic_person_fankui_normal", @"dk_ic_person_shezhi_normal", @"dk_ic_person_yaoqing_normal", @"dk_ic_person_guanyuwomen_normal"];
NSArray *title_group1 = @[@"意见反馈", @"系统设置", @"邀请好友", @"关于我们"]; NSArray *title_group1 = @[@"意见反馈", @"系统设置", @"邀请好友", @"关于我们"];
NSArray *leftIcon_group2 = @[@"ic_person_xiaochengxu_normal", @"ic_person_gongzhonghao_normal", @"ic_person_kefu_normal"];
NSArray *dk_leftIcon_group2 = @[@"dk_ic_person_xiaochengxu_normal", @"dk_ic_person_gongzhonghao_normal", @"dk_ic_person_kefu_normal"];
NSArray *title_group2 = @[@"前往小程序", @"关注公众号", @"添加客服微信"];
NSMutableArray *group1Arr = [NSMutableArray array]; NSMutableArray *group1Arr = [NSMutableArray array];
for (int i = 0; i < leftIcon_group1.count; i++) { for (int i = 0; i < leftIcon_group1.count; i++) {
ProfileModel *model = [ProfileModel new]; ProfileModel *model = [ProfileModel new];
...@@ -38,17 +36,26 @@ ...@@ -38,17 +36,26 @@
model.dk_rightIcon = @"moreIcon"; model.dk_rightIcon = @"moreIcon";
[group1Arr addObject:model]; [group1Arr addObject:model];
} }
NSMutableArray *group2Arr = [NSMutableArray array]; [totalGroupArr addObject:[group1Arr copy]];
for (int i = 0; i < leftIcon_group2.count; i++) {
ProfileModel *model = [ProfileModel new]; if ([WXApi isWXAppInstalled]) {
model.leftIcon = leftIcon_group2[i]; NSArray *leftIcon_group2 = @[@"ic_person_xiaochengxu_normal", @"ic_person_gongzhonghao_normal", @"ic_person_kefu_normal"];
model.dk_leftIcon = dk_leftIcon_group2[i]; NSArray *dk_leftIcon_group2 = @[@"dk_ic_person_xiaochengxu_normal", @"dk_ic_person_gongzhonghao_normal", @"dk_ic_person_kefu_normal"];
model.title = title_group2[i]; NSArray *title_group2 = @[@"前往小程序", @"关注公众号", @"添加客服微信"];
model.rightIcon = @"moreIcon"; NSMutableArray *group2Arr = [NSMutableArray array];
model.dk_rightIcon = @"moreIcon"; for (int i = 0; i < leftIcon_group2.count; i++) {
[group2Arr addObject:model]; ProfileModel *model = [ProfileModel new];
model.leftIcon = leftIcon_group2[i];
model.dk_leftIcon = dk_leftIcon_group2[i];
model.title = title_group2[i];
model.rightIcon = @"moreIcon";
model.dk_rightIcon = @"moreIcon";
[group2Arr addObject:model];
}
[totalGroupArr addObject:[group2Arr copy]];
} }
return @[[group1Arr copy], [group2Arr copy]];
return [totalGroupArr copy];
} }
@end @end
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!