chore: 首次提交 - 关联 GitHub fnvtk/MBTI_wang

Made-with: Cursor
This commit is contained in:
卡若
2026-03-17 12:39:38 +08:00
commit eb510304c0
259 changed files with 60464 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace app\model;
use think\Model;
/**
* 上传文件记录(本地/OSS用于去重与 URL 查询
*/
class UploadFile extends Model
{
protected $name = 'upload_files';
protected $schema = [
'id' => 'int',
'path' => 'string',
'url' => 'string',
'driver' => 'string',
'hash' => 'string',
'size' => 'int',
'mimeType' => 'string',
'extension' => 'string',
'createdAt' => 'int',
'updatedAt' => 'int',
];
protected $autoWriteTimestamp = 'int';
protected $createTime = 'createdAt';
protected $updateTime = 'updatedAt';
}