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