refactor: 修改附件下载模型

This commit is contained in:
2025-04-01 13:53:55 +08:00
parent d7e6ae75ec
commit d4a89b705f
2 changed files with 1 additions and 7 deletions

View File

@@ -21,12 +21,6 @@ class AttachmentModel extends AttachmentBaseModel
protected $json = ['attach'];
// 设置JSON数据返回数组
protected $jsonAssoc = true;
// JSON字段属性类型
protected $jsonType = [
'attach[*]->file_path' => 'string',
'attach[*]->file_ext' => 'string',
'attach[*]->btn_name' => 'string',
];
// 关联附件分类模型
public function category()