app/Http/Controllers/admin/EntrepotController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create(Request $request)
    {
        $data = Goods::all();
        return view('admin.entrepots.create',['title'=>'添加库存','data'=>$data]);
    }
public function create ( Request $ request ) { $ data = Goods :: all ( ) ; return view ( 'admin.entrepots.create' , [ 'title' => '添加库存','data'= > $data] ); }
Show the form for creating a new resource.
Show the form for creating a new resource .