正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -107,7 +107,7 @@ class BaseLogic extends Logic | @@ -107,7 +107,7 @@ class BaseLogic extends Logic | ||
| 107 | $imageModel = new ImageModel(); | 107 | $imageModel = new ImageModel(); |
| 108 | $image_hash = $imageModel->read(['hash'=>$hash]); | 108 | $image_hash = $imageModel->read(['hash'=>$hash]); |
| 109 | if($image_hash !== false){ | 109 | if($image_hash !== false){ |
| 110 | - return $this->response('图片资源',Code::SUCCESS,['image'=>$hash]); | 110 | + return $hash; |
| 111 | } | 111 | } |
| 112 | $url = $this->path; | 112 | $url = $this->path; |
| 113 | $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension(); | 113 | $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension(); |
-
请 注册 或 登录 后发表评论