正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
| @@ -54,8 +54,6 @@ class ImageController extends Controller | @@ -54,8 +54,6 @@ class ImageController extends Controller | ||
| 54 | if(!isset($this->token) || empty($this->cache)){ | 54 | if(!isset($this->token) || empty($this->cache)){ |
| 55 | return response(['code'=>Code::USER_LOGIN_ERROE,'msg'=>'当前用户未登录']); | 55 | return response(['code'=>Code::USER_LOGIN_ERROE,'msg'=>'当前用户未登录']); |
| 56 | } | 56 | } |
| 57 | - var_dump(1111); | ||
| 58 | - die(); | ||
| 59 | $this->param = $this->request->all(); | 57 | $this->param = $this->request->all(); |
| 60 | $this->config = config('filesystems.disks.upload'); | 58 | $this->config = config('filesystems.disks.upload'); |
| 61 | $this->uploads = config('upload.default_image'); | 59 | $this->uploads = config('upload.default_image'); |
| @@ -68,6 +66,9 @@ class ImageController extends Controller | @@ -68,6 +66,9 @@ class ImageController extends Controller | ||
| 68 | }else{ | 66 | }else{ |
| 69 | $this->path = $this->uploads['path_b'].'/'.$this->cache['project_id'].'/'.$this->image_type[$this->param['image_type']].'/'.date('Y-m'); | 67 | $this->path = $this->uploads['path_b'].'/'.$this->cache['project_id'].'/'.$this->image_type[$this->param['image_type']].'/'.date('Y-m'); |
| 70 | } | 68 | } |
| 69 | + var_dump(1111); | ||
| 70 | + var_dump($this->path); | ||
| 71 | + die(); | ||
| 71 | } | 72 | } |
| 72 | 73 | ||
| 73 | /** | 74 | /** |
-
请 注册 或 登录 后发表评论