问题内容: authentication.js exports.roleAuth = function(req, res, next) { var token = req.query.authToken; var authPage = req.query.authPage; var page_permission = req.query.permission; if (!token || !authPage || !page_permission || (page_permission != 'read' && page_permission != 'write')) { return res.status(401).send({ status: 401, data: 'Please provide token and authPage and page_permission' }); } else { db.query('select * from users