Commit 0a443475 by 孙亚楠

dd

parent a63d3cae
......@@ -12,6 +12,7 @@ class OrgCtl extends CtlBase {
*/
async addOrg(params) {
try {
params.saas_id = req.loginUser.saas_id;
return await this.orgSve.addOrg(params);
} catch (error) {
return system.getResult(null, `系统错误 错误信息 ${error}`);
......@@ -47,6 +48,7 @@ class OrgCtl extends CtlBase {
*/
async listOrg(params) {
try {
params.saas_id = req.loginUser.saas_id;
return await this.orgSve.listOrg(params);
} catch (error) {
return system.getResult(null, `系统错误 错误信息 ${error}`);
......
......@@ -12,6 +12,7 @@ class RoleCtl extends CtlBase {
*/
async addRole(params) {
try {
params.saas_id = req.loginUser.saas_id;
return await this.roleSve.addRole(params);
} catch (error) {
return system.getResult(null, `系统错误 错误信息 ${error}`);
......
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