feat:兼容开发

main
gzydong 2022-03-01 21:46:04 +08:00
parent 7e9bec8a96
commit 807acc480a
2 changed files with 2 additions and 4 deletions

View File

@ -186,8 +186,7 @@ class AnnexController extends CController
case FileDriveConstant::Local:
return $response->download($this->getFilePath($info->path), $info->original_name);
case FileDriveConstant::Cos:
// 后期添加
break;
return $this->response->fail('文件驱动不存在!');
default:
break;
}

View File

@ -190,8 +190,7 @@ class RecordsController extends CController
return $response->download($this->getFilePath($info->path), $info->original_name);
case FileDriveConstant::Cos:
// 后期添加
break;
return $this->response->fail('文件驱动不存在!');
default:
break;
}