This commit is contained in:
启星
2026-01-04 14:01:30 +08:00
parent bfcac8ab2c
commit 5ab030701c
97 changed files with 2068 additions and 267 deletions

View File

@@ -50,10 +50,7 @@
@property (nonatomic,strong)NSString *icon_wd_notselect;
*/
-(void)getAppTheme{
NSString *server = ServerUrl;
if (QXGlobal.shareGlobal.isNeedChangeServer) {
server = RServerUrl;
}
NSString *server = QXGlobal.shareGlobal.currentServer;
NSString *themeUrl = [NSString stringWithFormat:@"%@%@",server,QXAppTheme];
[[QXRequset shareInstance] getWithUrl:themeUrl parameters:@{} needCache:NO success:^(id responseObject) {
[QXConfig defaultConfig];
@@ -158,6 +155,8 @@
} fail:^(NSError *error, NSString *msg, NSURLSessionDataTask *task) {
NSLog(@"请求失败");
[self alertNetworkError];
QXGlobal.shareGlobal.currentServer = RServerUrl;
QXGlobal.shareGlobal.currentH5Server = RH5ServerUrl;
QXGlobal.shareGlobal.isNeedChangeServer = YES;
}];
}