update BaseOptions

This commit is contained in:
JaguarJack
2021-05-24 21:16:35 +08:00
parent e105bef460
commit bcfb184618
2 changed files with 3 additions and 1 deletions

View File

@@ -61,6 +61,8 @@ class Category extends BaseModel
'deleted_at',
);
protected $updateChildrenFields = 'status';
const LIST_TYPE = 1; // 列表
const PAGE_TYPE = 2; // 单页
const COVER_TYPE = 3; // 封面