📅  最后修改于: 2022-03-11 15:03:15.587000             🧑  作者: Mango
// Create new user.
let newUser = {
username: req.body.username,
password: passwordHashed,
salt: salt,
authorisationKey: authCode
};
// From require('UserModel');
return ModelUser.create(newUser);