帮助,同时使用其他内部服务,例如:
await Promise.all (messages.map (async message => {
// Also pass the original `params` to the service call
// so that it has the same information available (e.g. who is requesting it)
message.user = await app.service ('users'). get (message.userId, params);
}));
我得到了所有记录, 电子邮件,头像,_id。 我如何只收到电子邮件回信...?
tks