1.类型的修改

master
wangzhaoyao 2022-10-10 18:28:58 +08:00
parent b32997577f
commit 8bb7508d76
1 changed files with 12 additions and 3 deletions

View File

@ -25,10 +25,19 @@
dic[@"version"] = info.appVersion;
dic[@"thumbnail"]=info.appThumbnail;
dic[@"wechatLoginInfo"]=info.wechatLoginInfo;
if (info.appletVersionType == FATAppletVersionTypeRelease) {
dic[@"appletType"] = @"release";
} else if (info.appletVersionType == FATAppletVersionTypeTrial) {
dic[@"appletType"] = @"trial";
} else if (info.appletVersionType == FATAppletVersionTypeTemporary) {
dic[@"appletType"] = @"temporary";
} else if (info.appletVersionType == FATAppletVersionTypeReview) {
dic[@"appletType"] = @"review";
} else {
dic[@"appletType"] = @"development";
}
success(dic);
}
else
{
} else {
success(@{});
}
}