作者 lyh

gx

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