perf: 优化资产修改激活状态记录操作日志

This commit is contained in:
jiangweidong
2024-04-07 15:05:34 +08:00
committed by Bryan
parent 8c93d419fe
commit 5ea4bba676

View File

@@ -178,7 +178,7 @@ def on_django_start_set_operate_log_monitor_models(sender, **kwargs):
'PermedAsset', 'PermedAccount', 'MenuPermission',
'Permission', 'TicketSession', 'ApplyLoginTicket',
'ApplyCommandTicket', 'ApplyLoginAssetTicket',
'FavoriteAsset', 'Asset'
'FavoriteAsset',
}
for i, app in enumerate(apps.get_models(), 1):
app_name = app._meta.app_label