新增附件管理
This commit is contained in:
22
catch/system/model/Attachments.php
Normal file
22
catch/system/model/Attachments.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
namespace catchAdmin\system\model;
|
||||
|
||||
use catcher\base\CatchModel;
|
||||
|
||||
class Attachments extends CatchModel
|
||||
{
|
||||
protected $name = 'attachments';
|
||||
|
||||
protected $field = [
|
||||
'id', //
|
||||
'path', // 附件存储路径
|
||||
'mime_type', // 资源mimeType
|
||||
'file_ext', // 资源后缀
|
||||
'file_size', // 资源大小
|
||||
'filename', // 资源名称
|
||||
'driver', // local,oss,qcloud,qiniu
|
||||
'created_at', // 创建时间
|
||||
'updated_at', // 更新时间
|
||||
'deleted_at', // 删除时间
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user