feat(topup): add admin-only audit info to top-up logs

Thread caller IP from webhook/admin controllers through model recharge
functions and record a new RecordTopupLog entry with admin_info (server
IP, caller IP, order payment method, callback payment method, system
version). Frontend shows these fields in the expanded log row and the
IP column for admins on top-up logs, while non-admins continue to see
admin_info stripped by formatUserLogs.
This commit is contained in:
CaIon committed 2026-04-17 23:51:30 +08:00
1 parent e2807c5f95
commit 209d90e861
15 files changed
+3570 -1617

No files matched your search

+343 -193
View File
File diff suppressed because it is too large. Load diff
+368 -205
View File
File diff suppressed because it is too large. Load diff
+342 -191
View File
File diff suppressed because it is too large. Load diff
+374 -205
View File
File diff suppressed because it is too large. Load diff
+343 -195
View File
File diff suppressed because it is too large. Load diff
+1052 -438
View File
File diff suppressed because it is too large. Load diff
+655 -165
View File
File diff suppressed because it is too large. Load diff