In TP51 ??return ['status'=>$status,'message'=>$message] will report an error
Add json() and it will still be wrong
http://www.miracleart.cn/course/1073.html
Don’t you return data?
What error was reported? There is nothing wrong just by looking at the codes you sent