Commit de693421 by 孙亚楠

dd

parent 3e26e63b
...@@ -186,10 +186,14 @@ class UserCtl extends CtlBase { ...@@ -186,10 +186,14 @@ class UserCtl extends CtlBase {
} }
async saveUser(params, pobj2, req) { async saveUser(params, pobj2, req) {
if(!req.loginUser || !req.loginUser.saas_id){
return system.getResult(null,`登录失效,请重新登陆`);
}
try { try {
var user = { var user = {
id: params.id, id: params.id,
saas_id: params.saas_id, saas_id:req.loginUser.saas_id,
ucname: this.trim(params.ucname), ucname: this.trim(params.ucname),
realName: this.trim(params.realName), realName: this.trim(params.realName),
password: this.trim(params.password), password: this.trim(params.password),
......
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