Commit 766bd00a authored by zhuwei's avatar zhuwei

图片上传

parent 260fa373
......@@ -109,6 +109,7 @@ class UploadFileService
if ($info) {
$data['code'] = 200;
$data["msg"]['img_path'] = $date .'/'. $info->getSaveName(); //生成的图片路径
$data["msg"]['internet_img_name'] = $internet_path . $data["msg"]['img_path'];
$data["msg"]['img_ext'] = $info->getExtension();
} else {
$data['code'] = 101;
......
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