正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -159,7 +159,7 @@ class ImageController extends Controller | @@ -159,7 +159,7 @@ class ImageController extends Controller | ||
| 159 | return $this->response('图片资源',Code::SUCCESS,['image'=>$hash]); | 159 | return $this->response('图片资源',Code::SUCCESS,['image'=>$hash]); |
| 160 | } | 160 | } |
| 161 | $url = $this->config['root'].'/'.$this->path; | 161 | $url = $this->config['root'].'/'.$this->path; |
| 162 | - var_dump($url); | 162 | + var_dump($this->path); |
| 163 | die(); | 163 | die(); |
| 164 | $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension(); | 164 | $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension(); |
| 165 | $res = $files->move($url,$fileName); | 165 | $res = $files->move($url,$fileName); |
-
请 注册 或 登录 后发表评论