customer.route.js
667 Bytes
var env = process.env.NODE_ENV || 'development';
var cfg = require('../../config/config.js').get(env);
module.exports = function (app) {
var customerCtrl = app.modules.customer.getCustomerCtrl;
var postCustomerCtrl = app.modules.customer.postCustomerCtrl;
// app.get(cfg.service.CMF.GET_Customer_URL[0],
// customerCtrl.customer
// );
// app.get(cfg.service.CMF.GET_Customer_URL[1],
// customerCtrl.customer
// );
// app.get(cfg.service.CMF.GET_Customer_URL[2],
// customerCtrl.customer
// );
// app.post(cfg.service.CMF.POST_Customer_URL[0],
// postCustomerCtrl.postCustomer
// );
};