Commit b96e20de authored by clone's avatar clone Committed by hujun

bug

parent 81421b7e
......@@ -213,7 +213,7 @@ class AppChat extends Basic
$image = \think\Image::open($static_path);
$image->thumb(500, 500)->save($static_path); //生成缩略图
$data = [ 'file_name' => CHAT_IMG_URL . $img_path ];
$data = [ 'file_name' => CHAT_IMG_URL . $img_path, 'name' => $img_path ];
} else {
// 上传失败获取错误信息
return $this->response("101", $file->getError());
......
......@@ -2,4 +2,4 @@
# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
a1.easemob.com FALSE / FALSE 1516863904 rememberMe deleteMe
a1.easemob.com FALSE / FALSE 1516869338 rememberMe deleteMe
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