修改bug

This commit is contained in:
wcq 2023-02-10 14:01:39 +08:00
parent 15ed323c83
commit 5689613f82
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ def change_auth_rule_node(db: Session, node_id: int, name: str, belong: Union[in
if parent_node.node_type != 'category':
raise CommonException("父节点类型不为分类节点")
db.query(AuthRuleNode).filter_by(node_id).update({'name': name, 'belong': belong})
db.commit()
def get_default_auth_rule_config_by_id(db: Session, item_id: int):