简体   繁体   中英

500 (Internal Server Error) , post request

the wierd thing that this works when i use it in routes.php

script file

Controller method

any one knows whats happening?

尝试在 Illuminate 之前添加“\\”

public function addItem(\Illuminate\Http\Request $request)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM