Javascript 无法创建内置环回用户模型的继承者。只返回回调中的空对象

Javascript 无法创建内置环回用户模型的继承者。只返回回调中的空对象,javascript,node.js,express,loopbackjs,Javascript,Node.js,Express,Loopbackjs,这是创建新用户的代码。但它不起作用。在loopaback explorer中,一切正常 Participant.create({ email: `${body.login}@yandex.by`, password: '1111', }, function(err, user) { console.log(user);//undefined 此代码也不起作用 request.post('http://localhost:3000/

这是创建新用户的代码。但它不起作用。在loopaback explorer中,一切正常

 Participant.create({
        email: `${body.login}@yandex.by`,
        password: '1111',
      }, function(err, user) {
        console.log(user);//undefined
此代码也不起作用

 request.post('http://localhost:3000/api/Participants', {
        form: {
          email: `${body.login}@yandex.by`,
          password: '1111',
        },
      }, function(err, user) {
        console.log(user);//undefined

请在环回中提供您的模型您的错误消息是什么?嗨,@lexdykyі嗨,@icecreamіu hobbit没有错误消息,回调中只有空模型。