xmt-base
Version:
Backend Server Framework of XmT Inc.
26 lines • 885 B
JavaScript
;
const index_1 = require("../index");
const profile_1 = require("./profile");
exports.user = new index_1.Router();
exports.user.xmt_get(function user_GET_1(request, response, next) {
console.log("user GET method 1");
return next();
});
exports.user.xmt_common(function user_COMMON_1(request, response, next) {
console.log("user COMMON task 1");
next();
});
exports.user.xmt_mount("/profile", profile_1.profile);
exports.user.xmt_get(function user_GET_2(request, response, next) {
console.log("user GET method 2");
return next();
});
exports.user.xmt_all(function user_ALL_1(request, response, next) {
console.log("user ALL method 1");
return next();
});
exports.user.xmt_common(function user_COMMON_2(request, response, next) {
console.log("user COMMON task 2");
next();
});
//# sourceMappingURL=user.js.map