Commit 16cb734a by 王昆

gsb

parent 39f294d4
......@@ -99,6 +99,10 @@ class UserDao extends Dao {
sql.push("AND t1.saas_id = :saas_id");
}
if (params.uctype) {
sql.push("AND t1.uctype = :uctype");
}
if (params.ucname) {
sql.push("AND t1.ucname LIKE :ucname");
}
......
......@@ -108,7 +108,7 @@ class UserService extends ServiceBase {
saas_id: user.saas_id,
}
if (uctype == 1) {
if (uctype == 1 && roleIds.length > 0) {
// 菜单权限
user.menus = await this.authSve.menuByRoleIds(authParams);
// 接口权限
......
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