This commit is contained in:
lianxiang
2018-09-21 18:27:32 +08:00
parent f2729d343e
commit db1740e72b
573 changed files with 53631 additions and 3597 deletions
@@ -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];