feat(topup-log): add NODE_NAME env var for audit logs

Introduce NODE_NAME environment variable to identify node identity in top-up
audit logs, improving readability over auto-detected container internal IPs
in Docker/K8s deployments. Surface node_name in admin expanded log rows and
add it as a commented example to docker-compose.yml.
This commit is contained in:
CaIon
2026-04-18 00:51:04 +08:00
parent 6ff8c7ab03
commit 209645e26b
12 changed files with 20 additions and 0 deletions
+6
View File
@@ -740,6 +740,12 @@ export const useLogsData = () => {
value: adminInfo.server_ip,
});
}
if (adminInfo.node_name) {
expandDataLocal.push({
key: t('节点名称'),
value: adminInfo.node_name,
});
}
if (adminInfo.version) {
expandDataLocal.push({
key: t('系统版本'),