...
|
...
|
@@ -149,6 +149,9 @@ module.exports = { |
|
|
if (path && user.right[path]) {
|
|
|
common.isUsedMenuAuth(user.auth.pid,user.auth.role_id,path).done(function(isURes){
|
|
|
result = { code: 200, message: "具有权限" };
|
|
|
if(isURes.data){
|
|
|
result={code:isURes.data.code,message:isURes.data.errmsg};
|
|
|
}
|
|
|
return callback(null, result);
|
|
|
},function(error){
|
|
|
return callback(error, result);
|
...
|
...
|
|