修复
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m38s

This commit is contained in:
2026-08-12 10:42:35 +08:00
parent 619d0c5efe
commit fcfa347005
13 changed files with 371 additions and 14 deletions

View File

@@ -48,6 +48,8 @@ func (s *Service) writeBindingAudit(
if actionCode == constants.AuditActionPersonalCustomerAssetBound {
assetType, assetID := bindingAssetReference(cards, devices)
subjectData = map[string]any{"asset_type": assetType, "asset_id": assetID}
cards = nil
devices = nil
} else {
operatorID = middleware.GetUserIDFromContext(ctx)
if parsed, err := strconv.ParseUint(value.ActorID, 10, 64); err == nil && parsed > 0 {