我有另一个模型叫做Profile,它是belongsToOne的用户。 await strapi.query("user", "users-permissions").find({_id: `model id`}).populate('profile')
把Impossibleto find the plugin where strapi.query has
我使用角作为前端框架,在其中我创建了一个服务来调用后端的数据。我用Strapi做了后端。每当我从视图中选择一个博客时,URL都会显示ID而不是弹格。正如您可以看到的,第一个名为'getData‘的方法调用所有按ID排序的博客条目,而第二个名为'getDataById’的方法调用唯一博客的细节,将参数设置为ID,在其中我认为应该做一些适当的调整。})
export class StrapiServi