feat:修改七牛云上传下载路径读取 qiniudomain文件夹下的子文件夹名称
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#import "XianliaoApiManager.h"
|
||||
#import "QQShareManager.h"
|
||||
#import <objc/runtime.h>
|
||||
#import "QiniuConfig.h"
|
||||
|
||||
@interface AppDelegate ()<BuglyDelegate>
|
||||
{
|
||||
BOOL flag;
|
||||
@@ -131,6 +133,12 @@
|
||||
}
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
// 动态读取并配置七牛云域名
|
||||
NSString *dynamicDomain = [FuncPublic filename:@"qiniudomain"];
|
||||
if (dynamicDomain && dynamicDomain.length > 0) {
|
||||
kQiniuDomain = [dynamicDomain copy];
|
||||
NSLog(@"[QiniuConfig] Initialized with domain: %@", kQiniuDomain);
|
||||
}
|
||||
|
||||
[self configureAPIKey];
|
||||
[self setupBugly];
|
||||
|
||||
Reference in New Issue
Block a user