用户头像bug

feat/task1-c-wallet
gongfuxiang 2018-12-28 22:22:32 +08:00
parent a8c21f3e4e
commit c2de4b9a91
1 changed files with 2 additions and 2 deletions

View File

@ -729,8 +729,8 @@ class UserService
// 开始处理图片存储
// 定义图片目录
$root_path = ROOT_PATH;
$img_path = 'Public'.DS.'Upload'.DS.'user_avatar'.DS;
$root_path = ROOT;
$img_path = 'public'.DS.'static'.DS.'upload'.DS.'images'.DS.'user_avatar'.DS;
$date = DS.date('Y').DS.date('m').DS.date('d').DS;
// 图像类库