refactor: 修改附件下载模型
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user