Commit 4bccad69 authored by zhuwei's avatar zhuwei

图片上传

parent 2bc80512
...@@ -36,7 +36,7 @@ class UploadImg extends Basic ...@@ -36,7 +36,7 @@ class UploadImg extends Basic
$uploadResult = $this->uFService->upload($file, $type); $uploadResult = $this->uFService->upload($file, $type);
if ($uploadResult["code"] == 200) { if ($uploadResult["code"] == 200) {
return $this->response("200", "图片上传成功", $uploadResult["msg"]); return $this->response("200", "上传成功", $uploadResult["msg"]);
} else { } else {
return $this->response("101", $uploadResult["msg"]); return $this->response("101", $uploadResult["msg"]);
} }
......
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