|
...
|
...
|
@@ -55,9 +55,8 @@ class ImageController extends Controller |
|
|
|
return response(['code'=>Code::USER_LOGIN_ERROE,'msg'=>'当前用户未登录']);
|
|
|
|
}
|
|
|
|
$this->param = $this->request->all();
|
|
|
|
|
|
|
|
if(!isset($this->param['image_type'])){
|
|
|
|
return response(['msg'=>'参数错误']);
|
|
|
|
return response(['code'=>Code::USER_LOGIN_ERROE,'msg'=>'参数错误']);
|
|
|
|
}
|
|
|
|
$this->config = config('filesystems.disks.upload');
|
|
|
|
$this->uploads = config('upload.default_image');
|
...
|
...
|
|