This commit is contained in:
2022-07-06 19:52:25 +07:00
parent edbe47e479
commit a2ef0e5872
+8 -8
View File
@@ -16,27 +16,27 @@ const _end = require("../modules/hsm/endTranscation");
const _getService = require("../modules/hsm/service_block");
router.post("/read", auth.authenticateToken, _readData);
router.post("/readResp", auth.authenticateToken, _readDataResp);
router.post("/auth1", auth.authenticateToken, _auth1);
router.post("/auth2", auth.authenticateToken, _auth2);
router.post("/authResp", auth.authenticateToken, _authResp);
router.post("/topup1", auth.authenticateToken, _auth1);
router.post("/topup2", auth.authenticateToken, _auth2);
router.post("/topup3", auth.authenticateToken, _authResp);
router.post("/topup4", auth.authenticateToken, _readData);
router.post("/topup5", auth.authenticateToken, _readDataResp);
router.post(
"/topup",
"/topup6",
auth.authenticateToken,
_topup.validate("topup"),
_topup.controller
);
router.post(
"/topupResp",
"/topup7",
auth.authenticateToken,
_topupResp.validate("topupResponse"),
_topupResp.controller
);
router.post("/end", auth.authenticateToken, _end);
router.post("/topup8", auth.authenticateToken, _end);
router.get("/getservice", auth.authenticateToken, _getService);