...
|
...
|
@@ -139,6 +139,7 @@ module.exports = { |
|
|
},
|
|
|
gray: function (req, callback,common) {
|
|
|
var result = { code: 201, message: "没有权限" };
|
|
|
console.log("session gray");
|
|
|
if (req.session && req.session.user) {
|
|
|
var user = req.session.user;
|
|
|
var path = req.route?req.route.path[0]:req.originalUrl.replace(/\?.+/, '');
|
...
|
...
|
|