As shown in the figure below, the backend cannot use the $keyWord obtained? The print shows Null. But if you return to the front end, console.log() can print it out. If the backend splices other strings, the frontend console.log() can also print out the spliced strings. But this $keyWord cannot be used in the back-end controller. Please advise, thank you all.
The above code is written incorrectly. It should be $request->param('keyword');, but the problem is not here. This is the mistake I made before taking the screenshot.