宠物店修改
This commit is contained in:
@@ -44,9 +44,16 @@
|
||||
_dict=[[NSMutableDictionary alloc]init];
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
-(void)cacheinit:(NSString*)useid
|
||||
{
|
||||
NSArray*arr=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
|
||||
self.cache = [[EGOCache alloc] initWithCacheDirectory:[arr.firstObject stringByAppendingPathComponent:[NSString stringWithFormat:@"ifish/%@",[CommonUtils getNotNilStr:useid]]]];
|
||||
[self.cache setDefaultTimeoutInterval:864000000];
|
||||
}
|
||||
//根据文件名 获取指定文件名的在沙盒Documents的 全路径
|
||||
-(NSString*)getFullFilePathWithName:(NSString *)name{
|
||||
//方法1
|
||||
|
||||
Reference in New Issue
Block a user