This commit is contained in:
启星
2025-08-11 17:33:47 +08:00
parent c48a8365ef
commit 2156d56dae
13 changed files with 18 additions and 13 deletions

View File

@@ -1197,7 +1197,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1;
MARKETING_VERSION = 1.0.2;
PRODUCT_BUNDLE_IDENTIFIER = com.qxcm.qxlive;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
@@ -1257,7 +1257,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1;
MARKETING_VERSION = 1.0.2;
PRODUCT_BUNDLE_IDENTIFIER = com.qxcm.qxlive;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";

View File

@@ -42,7 +42,7 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
- (void)loadData {
// 1-23&fromId=id
NSInteger safeTop = kSafeAreaTop;
NSURL* url= [NSURL URLWithString:[NSString stringWithFormat:@"https://vespa.qxmier.com/web/index.html#/pages/feedback/report?id=%@&fromType=%@&fromId=%@&h=%ld",[QXGlobal shareGlobal].loginModel.token ,self.reportType,self.fromId,safeTop]];
NSURL* url= [NSURL URLWithString:[NSString stringWithFormat:@"%@web/index.html#/pages/feedback/report?id=%@&fromType=%@&fromId=%@&h=%ld",H5ServerUrl,[QXGlobal shareGlobal].loginModel.token ,self.reportType,self.fromId,safeTop]];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];
}

View File

@@ -41,7 +41,7 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
, 2)];
}
- (void)loadData {
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"https://vespa.qxmier.com/web/index.html#/pages/union/setGroup?id=%@&guildId=%@",QXGlobal.shareGlobal.loginModel.token,self.groupId]];
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"%@web/index.html#/pages/union/setGroup?id=%@&guildId=%@",H5ServerUrl,QXGlobal.shareGlobal.loginModel.token,self.groupId]];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];
}

View File

@@ -43,7 +43,7 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
}
- (void)loadData {
NSInteger safeTop = kSafeAreaTop;
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"https://vespa.qxmier.com/web/index.html#/pages/union/index?id=%@&h=%ld",[QXGlobal shareGlobal].loginModel.token,safeTop]];
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"%@web/index.html#/pages/union/index?id=%@&h=%ld",H5ServerUrl,[QXGlobal shareGlobal].loginModel.token,safeTop]];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];
}

View File

@@ -61,7 +61,7 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
}
- (void)loadData {
NSInteger safeTop = kSafeAreaTop;
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"https://vespa.qxmier.com/web/index.html#/pages/feedback/help?id=%@&h=%ld",[QXGlobal shareGlobal].loginModel.token,safeTop]];
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"%@web/index.html#/pages/feedback/help?id=%@&h=%ld",H5ServerUrl,[QXGlobal shareGlobal].loginModel.token,safeTop]];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];
}

View File

@@ -41,7 +41,7 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
}
- (void)loadData {
NSInteger safeTop = kSafeAreaTop;
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"https://vespa.qxmier.com/web/index.html#/pages/other/grade?id=%@&type=%d&h=%ld",[QXGlobal shareGlobal].loginModel.token,0,safeTop]];
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"%@web/index.html#/pages/other/grade?id=%@&type=%d&h=%ld",H5ServerUrl,[QXGlobal shareGlobal].loginModel.token,0,safeTop]];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];
}

View File

@@ -40,7 +40,9 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
, 2)];
}
- (void)loadData {
NSURL* url=[NSURL URLWithString:@"https://vespa.qxmier.com/web/index.html#/pages/other/aboutUs"];
// H5ServerUrl
NSString *urlStr = [NSString stringWithFormat:@"%@web/index.html#/pages/other/aboutUs",H5ServerUrl];
NSURL* url=[NSURL URLWithString:urlStr];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];
}

View File

@@ -60,7 +60,7 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
, 2)];
}
- (void)loadData {
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"https://vespa.qxmier.com/web/index.html#/pages/prop/propMall?id=%@",[QXGlobal shareGlobal].loginModel.token]];
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"%@web/index.html#/pages/prop/propMall?id=%@",H5ServerUrl,[QXGlobal shareGlobal].loginModel.token]];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];
}

View File

@@ -63,7 +63,7 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
}
- (void)loadData {
NSInteger safeTop = kSafeAreaTop;
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"https://vespa.qxmier.com/web/index.html#/pages/other/income??id=%@&h=%ld",[QXGlobal shareGlobal].loginModel.token,safeTop]];
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"%@web/index.html#/pages/other/income??id=%@&h=%ld",H5ServerUrl,[QXGlobal shareGlobal].loginModel.token,safeTop]];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];
}

View File

@@ -40,7 +40,8 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
[self removeFromSuperview];
}
- (void)loadData {
NSURL* url=[NSURL URLWithString:[NSString stringWithFormat:@"https://vespa.qxmier.com/web/index.html#/pages/other/taskDesc"]];
NSString *urlStr = [NSString stringWithFormat:@"%@web/index.html#/pages/other/taskDesc",H5ServerUrl];
NSURL* url=[NSURL URLWithString:urlStr];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];
}

View File

@@ -8,9 +8,11 @@
#ifndef Api_h
#define Api_h
#if DEVELOPENT == 1
static NSString* ServerUrl = @"https://chat.qxmier.com/";
static NSString* ServerUrl = @"https://vschat.qxmier.com/";
static NSString* H5ServerUrl = @"https://chatvespa.qxmier.com/";
#else
static NSString* ServerUrl = @"https://chat.qxmier.com/";
static NSString* H5ServerUrl = @"https://vespa.qxmier.com/";
#endif
#pragma mark - 引导页
/// 引导页

View File

@@ -41,7 +41,7 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
}
- (void)loadData {
NSInteger safeTop = kSafeAreaTop;
NSURL* url= [NSURL URLWithString:[NSString stringWithFormat:@"https://vespa.qxmier.com/web/index.html#/pages/feedback/teenage?id=%@&h=%ld",[QXGlobal shareGlobal].loginModel.token,safeTop]];
NSURL* url= [NSURL URLWithString:[NSString stringWithFormat:@"%@web/index.html#/pages/feedback/teenage?id=%@&h=%ld",H5ServerUrl,[QXGlobal shareGlobal].loginModel.token,safeTop]];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];
}