feat: 添加视频上传接口

This commit is contained in:
2025-02-19 16:33:36 +08:00
parent 6dbc9ecc34
commit aa1d6b2916
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);
}
}