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