try { let body = JSON.parse($response.body); // Lấy timestamp hiện tại theo giờ hệ thống (UTC, tính theo giây) const now = Math.floor(Date.now() / 1000); if (body?.timestamp) { body.now = now; body.timestamp = now + 3000; } $done({ body: JSON.stringify(body) }); } catch (e) { $done({}); }