fix: admin_audit_log 操作人ID支持手机号解析

This commit is contained in:
XingQue
2026-06-24 18:25:21 +08:00
parent 45123d5b6f
commit 8e5662c56f
3 changed files with 39 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ class AdminAssignment(QModel):
class AdminAuditLog(QModel):
"""后台敏感操作审计(改余额等)。"""
club_id = models.CharField(max_length=16, null=True, blank=True, db_index=True)
operator_yonghuid = models.CharField(max_length=7, db_index=True)
operator_yonghuid = models.CharField(max_length=16, db_index=True)
operator_role_code = models.CharField(max_length=50, blank=True, default='')
target_yonghuid = models.CharField(max_length=7, null=True, blank=True)
action = models.CharField(max_length=64, db_index=True)