I want to make User first before Penghuni so the user_id is from id on users table

前端 未结 0 1265
名媛妹妹
名媛妹妹 2021-01-06 09:20

this is my store function for creating the Penghuni

public function store(CreatePenghunisRequest $request)
{
    User::create([
        \'name\' => $reques         


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