app/Http/Controllers/home/ConsigneeController.php
/**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
Store a newly created resource in storage.
Store a newly created resource in storage .
public function store(Request $request)
    {
        $req = $request -> all();
        dump($req);
    }
public function store ( Request $ request ) { $ req = $ request -> all ( ) ; dump ( $ req ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .
// $this->validate($request, [ //     'name' => 'required', //     'email' => 'required|regex:/^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/', //     'phone' => 'required|regex:/^[1][3,4,5,7,8,9][0-9]{9}$/', //     'postcode' => 'required|regex:/^[\d]{6}$/', // ],[ //     'name.required' => '收货人姓名必填', //     'email.required' => '收货人邮箱必填', //     'email.regex' => '请输入正确邮箱', //     'phone.required' => '手机号必填', //     'phone.regex' => '请输入11位手机号码', //     'postcode.required' => '邮政编码必填', //     'postcode.regex' => '邮政编码必须为6位数字' // ]);