Commit 3e26e63b by 孙亚楠

dd

parent 2c564f56
......@@ -98,8 +98,11 @@ class UserCtl extends CtlBase {
*/
async addUser(params, pobj2, req) {
try {
if(!req.loginUser || !req.loginUser.saas_id){
return system.getResult(null,`登录失效,请重新登陆`);
}
var user = {
saas_id: params.saas_id,
saas_id: req.loginUser.saas_id,
org_id: Number(params.org_id || 0),
ucname: this.trim(params.ucname),
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