try { const YEARS_TO_SUBTRACT = 60 * 60 * 24 * 18200; // ~49.86 năm const TWO_HOURS = 7200; // 2 giờ const now = Math.floor(Date.now() / 1000); // Đếm số lần gọi let callCount = parseInt($persistentStore.read("v3") || "0") + 1; $persistentStore.write(callCount.toString(), "v3"); // Tạo body giả const body = { status: "OK", message: "local mock", timestamp: now - YEARS_TO_SUBTRACT + (callCount * TWO_HOURS) }; $done({ response: { status: 200, headers: { "Content-Type": "application/json" }, body: JSON.stringify(body) } }); } catch (e) { $done({}); }