code cleanup and translations

This commit is contained in:
swtmply
2023-03-18 02:45:00 +08:00
parent fa05d0b401
commit 88ee4f13e1
6 changed files with 81 additions and 19 deletions

View File

@@ -104,3 +104,9 @@ exports.generate_payment_url = async (req, res) => {
res.json({ error });
}
};
exports.postback = async (req, res) => {
console.log("postback as", req.body);
res.send({ message: "postback" });
};