How to add additional key for Resource model in Laravel

后端 未结 0 1113
旧时难觅i
旧时难觅i 2021-02-13 13:29

I have a resource model with JsonResource::withoutWrapping() method has added

Controller:

$response =  new AuthResource($user);
return $re         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题