feat(auth): use attribute for ignore node
- Add NodeAnnotation attribute to filter ignore nodes - Update Goods controller to use NodeAnnotation for ignore nodes - Modify Node service to handle new attribute-Enhance AdminController with ignoreNode property
This commit is contained in:
@@ -44,6 +44,12 @@ class AdminController extends BaseController
|
||||
'title',
|
||||
];
|
||||
|
||||
/**
|
||||
* 过滤节点更新
|
||||
* @var array
|
||||
*/
|
||||
protected array $ignoreNode = [];
|
||||
|
||||
/**
|
||||
* 不导出的字段信息
|
||||
* @var array
|
||||
|
||||
Reference in New Issue
Block a user