Commit ebc94188 by 王昆

gsb

parent d32619f7
...@@ -55,6 +55,9 @@ class ActionAPI extends APIBase { ...@@ -55,6 +55,9 @@ class ActionAPI extends APIBase {
case "userEnabled": case "userEnabled":
opResult = await this.userSve.enabled(action_body); opResult = await this.userSve.enabled(action_body);
break; break;
case "userMapByIds":
opResult = await this.userSve.mapByIds(action_body);
break;
default: default:
opResult = system.getResult(null, "action_type参数错误"); opResult = system.getResult(null, "action_type参数错误");
break; break;
......
...@@ -169,7 +169,7 @@ class UserService extends ServiceBase { ...@@ -169,7 +169,7 @@ class UserService extends ServiceBase {
} }
async mapByIds(params) { async mapByIds(params) {
let rs = await this.dao.findMapByIds(params.ids); let rs = await this.dao.findMapByIds(params.ids, params.attrs);
return system.getResultSuccess(rs); return system.getResultSuccess(rs);
} }
......
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