feat: 添加视频上传接口

This commit is contained in:
2025-02-19 16:33:36 +08:00
parent df0c545b90
commit 5c15fb83e1
7 changed files with 182 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
declare (strict_types = 1);
namespace app\admin\model\v1;
use app\common\model\SysVideoBaseModel;
/**
* 视频上传模型
* @mixin \think\Model
*/
class SysVideoModel extends SysVideoBaseModel
{
// 根据md5查询
public function scopeMd5($query, $value)
{
$query->where('video_md5', '=', $value);
}
}