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:
Vendored
+343
-193
File diff suppressed because it is too large
Load Diff
Vendored
+368
-205
File diff suppressed because it is too large
Load Diff
Vendored
+342
-191
File diff suppressed because it is too large
Load Diff
Vendored
+374
-205
File diff suppressed because it is too large
Load Diff
Vendored
+343
-195
File diff suppressed because it is too large
Load Diff
Vendored
+1052
-438
File diff suppressed because it is too large
Load Diff
Vendored
+655
-165
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user