Commit 81421b7e authored by clone's avatar clone Committed by hujun

bug

parent 5563c0d8
......@@ -213,7 +213,7 @@ class AppChat extends Basic
$image = \think\Image::open($static_path);
$image->thumb(500, 500)->save($static_path); //生成缩略图
$data = [ 'file_name' => HEADERIMGURL . $img_path ];
$data = [ 'file_name' => CHAT_IMG_URL . $img_path ];
} else {
// 上传失败获取错误信息
return $this->response("101", $file->getError());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment