refactor: 修改图片/视频上传记录表名

This commit is contained in:
2025-02-28 14:03:38 +08:00
parent c28363eef6
commit ca40dc3cc8
7 changed files with 25 additions and 26 deletions

View File

@@ -0,0 +1,19 @@
<?php
declare (strict_types = 1);
namespace app\admin\model\v1;
use app\common\model\SysImageUploadRecordBaseModel;
/**
* 图片上传模型
* @mixin \think\Model
*/
class SysImageUploadRecordModel extends SysImageUploadRecordBaseModel
{
// 根据md5获取图片
public function scopeMd5($query, $md5)
{
$query->where('file_md5', '=', $md5);
}
}