提交 c2de4b9a 编写于 作者: G gongfuxiang

用户头像bug

上级 a8c21f3e
......@@ -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;
// 图像类库
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册