我想在API中更改我的响应。作为响应,我得到了user对象,但我想要的是join对象,这里是我的Activity Profile Controller的代码,我在其中获得了user对象。目前我得到了这样的回应。return response()->json(['message'=> 'Your are not under the age limit of this Activ
如何将field_canonicalurl改为canonicalUrl,将field_teaser更改为Teaser?下面是我的视图中的API输出:
[{"field_canonicalurl":"","title":"This is the title ","field_teaser":"\u003Cp\u003EIn