feat:修改七牛云上传下载路径读取 qiniudomain文件夹下的子文件夹名称
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#import <objc/runtime.h>
|
||||
#import <CommonCrypto/CommonHMAC.h>
|
||||
#import <CommonCrypto/CommonDigest.h>
|
||||
#import "FuncPublic.h"
|
||||
|
||||
@implementation QiniuManager
|
||||
|
||||
@@ -192,7 +193,8 @@
|
||||
}
|
||||
|
||||
- (NSString *)getFileUrlWithKey:(NSString *)key {
|
||||
return [NSString stringWithFormat:@"%@/%@", kQiniuDomain, key];
|
||||
// 域名已在AppDelegate启动时从文件夹读取并赋值给kQiniuDomain
|
||||
return [NSString stringWithFormat:@"http://%@/%@", kQiniuDomain, key];
|
||||
}
|
||||
|
||||
#pragma mark - Private Methods
|
||||
|
||||
Reference in New Issue
Block a user