修复bug

This commit is contained in:
liyuhua
2023-11-30 18:27:35 +08:00
parent a23bf77938
commit 3b65c53286
3 changed files with 20 additions and 14 deletions

View File

@@ -156,4 +156,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: cc88fa05da662ee682fc0eeb502faab221faa032 PODFILE CHECKSUM: cc88fa05da662ee682fc0eeb502faab221faa032
COCOAPODS: 1.14.2 COCOAPODS: 1.12.1

View File

@@ -835,8 +835,8 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
8C9C821B2B0C694900A601BC /* AppDelegate.h */, 8C9C821B2B0C694900A601BC /* AppDelegate.h */,
8C9C821C2B0C694900A601BC /* AppDelegate+ThirdConfig.h */,
8C9C821D2B0C694900A601BC /* AppDelegate.m */, 8C9C821D2B0C694900A601BC /* AppDelegate.m */,
8C9C821C2B0C694900A601BC /* AppDelegate+ThirdConfig.h */,
8C9C821E2B0C694900A601BC /* AppDelegate+ThirdConfig.m */, 8C9C821E2B0C694900A601BC /* AppDelegate+ThirdConfig.m */,
); );
path = AppDelegate; path = AppDelegate;
@@ -1046,8 +1046,8 @@
8C9C826D2B0C695600A601BC /* Api */ = { 8C9C826D2B0C695600A601BC /* Api */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
8C9C826E2B0C695600A601BC /* Api.m */,
8C9C826F2B0C695600A601BC /* Api.h */, 8C9C826F2B0C695600A601BC /* Api.h */,
8C9C826E2B0C695600A601BC /* Api.m */,
); );
path = Api; path = Api;
sourceTree = "<group>"; sourceTree = "<group>";
@@ -1139,10 +1139,10 @@
8C9C82892B0C695600A601BC /* Security */ = { 8C9C82892B0C695600A601BC /* Security */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
8C9C828A2B0C695600A601BC /* DESEncrypt.h */,
8C9C828B2B0C695600A601BC /* Base64.h */, 8C9C828B2B0C695600A601BC /* Base64.h */,
8C9C828C2B0C695600A601BC /* DESEncrypt.m */,
8C9C828D2B0C695600A601BC /* Base64.m */, 8C9C828D2B0C695600A601BC /* Base64.m */,
8C9C828A2B0C695600A601BC /* DESEncrypt.h */,
8C9C828C2B0C695600A601BC /* DESEncrypt.m */,
); );
path = Security; path = Security;
sourceTree = "<group>"; sourceTree = "<group>";
@@ -1177,10 +1177,10 @@
8C9C829A2B0C695600A601BC /* IAPHelper */ = { 8C9C829A2B0C695600A601BC /* IAPHelper */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
8C9C829B2B0C695600A601BC /* RechargeStorage.m */,
8C9C829C2B0C695600A601BC /* YMIAPHelper.m */,
8C9C829D2B0C695600A601BC /* RechargeStorage.h */, 8C9C829D2B0C695600A601BC /* RechargeStorage.h */,
8C9C829B2B0C695600A601BC /* RechargeStorage.m */,
8C9C829E2B0C695600A601BC /* YMIAPHelper.h */, 8C9C829E2B0C695600A601BC /* YMIAPHelper.h */,
8C9C829C2B0C695600A601BC /* YMIAPHelper.m */,
); );
path = IAPHelper; path = IAPHelper;
sourceTree = "<group>"; sourceTree = "<group>";
@@ -2048,12 +2048,12 @@
8C9C84052B0C697A00A601BC /* View */ = { 8C9C84052B0C697A00A601BC /* View */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
8C9C84062B0C697A00A601BC /* MewRechargeViewController.m */,
8C9C84072B0C697A00A601BC /* MewMineCollectionViewController.h */, 8C9C84072B0C697A00A601BC /* MewMineCollectionViewController.h */,
8C9C84082B0C697A00A601BC /* MewRechargeSubView.h */,
8C9C84092B0C697A00A601BC /* MewMineCollectionViewController.m */, 8C9C84092B0C697A00A601BC /* MewMineCollectionViewController.m */,
8C9C840A2B0C697A00A601BC /* MewRechargeViewController.h */, 8C9C84082B0C697A00A601BC /* MewRechargeSubView.h */,
8C9C840B2B0C697A00A601BC /* MewRechargeSubView.m */, 8C9C840B2B0C697A00A601BC /* MewRechargeSubView.m */,
8C9C840A2B0C697A00A601BC /* MewRechargeViewController.h */,
8C9C84062B0C697A00A601BC /* MewRechargeViewController.m */,
); );
path = View; path = View;
sourceTree = "<group>"; sourceTree = "<group>";
@@ -2069,11 +2069,11 @@
8C9C840D2B0C697A00A601BC /* View */ = { 8C9C840D2B0C697A00A601BC /* View */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
8C9C840E2B0C697A00A601BC /* MewLoginViewController.h */,
8C9C840F2B0C697A00A601BC /* MewLoginNumberViewController.h */, 8C9C840F2B0C697A00A601BC /* MewLoginNumberViewController.h */,
8C9C84102B0C697A00A601BC /* SubView */,
8C9C84152B0C697A00A601BC /* MewLoginNumberViewController.m */, 8C9C84152B0C697A00A601BC /* MewLoginNumberViewController.m */,
8C9C840E2B0C697A00A601BC /* MewLoginViewController.h */,
8C9C84162B0C697A00A601BC /* MewLoginViewController.m */, 8C9C84162B0C697A00A601BC /* MewLoginViewController.m */,
8C9C84102B0C697A00A601BC /* SubView */,
); );
path = View; path = View;
sourceTree = "<group>"; sourceTree = "<group>";
@@ -2643,6 +2643,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "yinmeng-ios/yinmeng-ios.entitlements"; CODE_SIGN_ENTITLEMENTS = "yinmeng-ios/yinmeng-ios.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 48UCG35Q9W; DEVELOPMENT_TEAM = 48UCG35Q9W;
@@ -2669,6 +2670,7 @@
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "linyudan.yinmeng-ios"; PRODUCT_BUNDLE_IDENTIFIER = "linyudan.yinmeng-ios";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO; SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
@@ -2688,6 +2690,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "yinmeng-ios/yinmeng-ios.entitlements"; CODE_SIGN_ENTITLEMENTS = "yinmeng-ios/yinmeng-ios.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 48UCG35Q9W; DEVELOPMENT_TEAM = 48UCG35Q9W;
@@ -2714,6 +2717,7 @@
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "linyudan.yinmeng-ios"; PRODUCT_BUNDLE_IDENTIFIER = "linyudan.yinmeng-ios";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO; SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;

View File

@@ -78,7 +78,6 @@
self.orderId = orderId; self.orderId = orderId;
if (@available(iOS 15.0, *)) { if (@available(iOS 15.0, *)) {
MewPaymentAction *iap = [MewPaymentAction shared]; MewPaymentAction *iap = [MewPaymentAction shared];
[iap Mew_demandCommodityThingWithProductId:chargeProdId uuid:uuid completionHandler:^(NSError * _Nullable error) { [iap Mew_demandCommodityThingWithProductId:chargeProdId uuid:uuid completionHandler:^(NSError * _Nullable error) {
@@ -157,8 +156,11 @@
} }
[self deleteRechageReciptWithTransactionIdentifier:transcationId]; [self deleteRechageReciptWithTransactionIdentifier:transcationId];
self.orderId = nil; self.orderId = nil;
///
[YMHUDTool showLoading];
//5 //5
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[YMHUDTool hideHUD];
/// ///
[self.presenter getUserWalletInfo]; [self.presenter getUserWalletInfo];