用户头像bug

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

View File

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