add balance
All checks were successful
Build SMS Gateway / Build image (push) Successful in 30s

This commit is contained in:
2026-02-02 05:55:48 +07:00
parent 6062b037b7
commit 1fc17991ae
7 changed files with 901 additions and 3 deletions

View File

@@ -85,6 +85,11 @@ router.post("/clear-all-sms", (req, res) => {
res.json({ status: "ok", message: "All messages cleared" });
});
// GET /balance - get account balance (SMSC API compatible)
router.get("/balance", (req, res) => {
res.json({ balance: "1000.00" });
});
// Serve static files
router.use(express.static(path.join(__dirname, "public")));