add
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#import "GiGaBaseAPiRequest.h"
|
||||
#import "GiGaUserJobViewCell.h"
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
#import "GIGaFileManager.h"
|
||||
#import "GIGaUserFileHelper.h"
|
||||
#import "GiGaUserDefault.h"
|
||||
#import "GiGaNetManager.h"
|
||||
#import "GiGaServerConfig.h"
|
||||
@@ -470,9 +470,9 @@
|
||||
;
|
||||
|
||||
UIImage*img=[info objectForKey:UIImagePickerControllerEditedImage];
|
||||
UIImage *samall = [GIGaFileManager thumbnailWithImageWithoutScale:img size:CGSizeMake(300, 300)];
|
||||
UIImage *samall = [GIGaUserFileHelper thumbnailWithImageWithoutScale:img size:CGSizeMake(300, 300)];
|
||||
NSString *userid = [GiGaUserDefault getCurentUserId];
|
||||
[GIGaFileManager savaUserAvatorWith:userid image:samall];
|
||||
[GIGaUserFileHelper savaUserAvatorWith:userid image:samall];
|
||||
GIGaUserInfoAvatorCell *cell = [self.tableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];
|
||||
cell.userAvator.image = samall;
|
||||
[self uploadImage:samall];
|
||||
|
||||
Reference in New Issue
Block a user