feat: 添加视频上传接口

This commit is contained in:
2025-02-19 16:33:36 +08:00
parent 65b83b5f9b
commit 4f43341534
7 changed files with 182 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
declare (strict_types = 1);
namespace app\common\model;
use think\Model;
/**
* 视频上传基础模型
* @mixin \think\Model
*/
class SysVideoBaseModel extends Model
{
// 表名
protected $name = 'sys_video';
// 主键
protected $pk = 'id';
// 字段信息
protected $schema = [
'id' => 'int',
'language_id' => 'int',
'module' => 'string',
'video_path' => 'string',
'video_size' => 'int',
'video_type' => 'string',
'video_md5' => 'string',
'video_sha1' => 'string',
'created_at' => 'datetime',
'deleted_at' => 'datetime',
];
}