正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -149,7 +149,7 @@ class ImageController extends Controller | @@ -149,7 +149,7 @@ class ImageController extends Controller | ||
| 149 | if($image_hash !== false){ | 149 | if($image_hash !== false){ |
| 150 | return $this->response('图片资源',Code::SUCCESS,['image'=>$hash]); | 150 | return $this->response('图片资源',Code::SUCCESS,['image'=>$hash]); |
| 151 | } | 151 | } |
| 152 | - $url = $this->config['root'].'/'.$this->path; | 152 | + $url = $this->config['root'].$this->path; |
| 153 | var_dump($url); | 153 | var_dump($url); |
| 154 | die(); | 154 | die(); |
| 155 | $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension(); | 155 | $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension(); |
-
请 注册 或 登录 后发表评论