|
...
|
...
|
@@ -54,8 +54,6 @@ class ImageController extends Controller |
|
|
|
if(!isset($this->token) || empty($this->cache)){
|
|
|
|
return response(['code'=>Code::USER_LOGIN_ERROE,'msg'=>'当前用户未登录']);
|
|
|
|
}
|
|
|
|
var_dump(1111);
|
|
|
|
die();
|
|
|
|
$this->param = $this->request->all();
|
|
|
|
$this->config = config('filesystems.disks.upload');
|
|
|
|
$this->uploads = config('upload.default_image');
|
|
...
|
...
|
@@ -68,6 +66,9 @@ class ImageController extends Controller |
|
|
|
}else{
|
|
|
|
$this->path = $this->uploads['path_b'].'/'.$this->cache['project_id'].'/'.$this->image_type[$this->param['image_type']].'/'.date('Y-m');
|
|
|
|
}
|
|
|
|
var_dump(1111);
|
|
|
|
var_dump($this->path);
|
|
|
|
die();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|