Commit 685e98ab by 宋毅

tj

parent ec592f24
......@@ -718,5 +718,16 @@ class tmqueryCtl extends CtlBase {
//----------------------------gsb------操作------------end
async getUserByPin(pobj, qobj, req) {
var user = req.session.userPinInfo;
if (!user) {
return system.getResultFail(-99, "user no login");
}
if (user.userpin != pobj.userpin) {
return system.getResultFail(-99, "user login error");
}
return system.getResultSuccess(user);
}
}
module.exports = tmqueryCtl;
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