|
@@ -305,7 +305,6 @@ class FileController |
|
@@ -305,7 +305,6 @@ class FileController |
|
305
|
public function setUrl(){
|
305
|
public function setUrl(){
|
|
306
|
//A端上传
|
306
|
//A端上传
|
|
307
|
if(isset($this->param['refer_type']) && $this->param['refer_type'] == 1){
|
307
|
if(isset($this->param['refer_type']) && $this->param['refer_type'] == 1){
|
|
308
|
- @file_put_contents(storage_path('logs/lyh_error.log'), var_export('进入222', true) . PHP_EOL, FILE_APPEND);
|
|
|
|
309
|
$this->path = $this->uploads['path_a'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m');
|
308
|
$this->path = $this->uploads['path_a'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m');
|
|
310
|
}else{
|
309
|
}else{
|
|
311
|
//B端上传,upload_method 为 1时 强制上传到本地
|
310
|
//B端上传,upload_method 为 1时 强制上传到本地
|