Commit 2e3739d7 authored by 张淼's avatar 张淼

1

parent e764cd24
'use strict';
/**
* 新增社区板块
* @param {[type]}
* @param {Function}
* @return {[type]}
*/
exports.create = function(entity, callback) {
callback(null, null);
};
\ No newline at end of file
'use strict';
//根据会员ID获取
exports.getIntegralById=function(mid,callback){
console.log('');
};
\ No newline at end of file
'use strict';
//获取用户角色
exports.getRolePermiss=function(callback){
//1.获取用户经验、积分
//2.获取角色权限列表
//3.根据积分、经验匹配对应的角色
};
//检查是否有操作权限
exports.checkRolePermiss=function(action,callback){
var action=req.query.action||'';//操作
//1.获取用户角色权限
//2.检查用户对应的角色是否有对应的操作权限
console.log(action);
};
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment