新增附件管理

This commit is contained in:
wuyanwen
2020-01-25 22:22:29 +08:00
parent 5181915e3c
commit a8c98a0a05
2 changed files with 65 additions and 0 deletions

View 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', // 删除时间
];
}