Writing the last sentence of the code to get the return value will not go wrong!
---------------------
HTML
------ --------------------
type="checkbox"value="res.res.id"name=""></td><td>' res.res.id '</td><td>' res.res. cate_order '</td><td>' res.res.cate_name '</td><td class="td-manage"><a title="edit"href="javascript:;" onclick="cate_edit(\'edit\',\'cate-edit.html\',\'4\',\'\',\'510\')" class="ml-5" style="text -decoration:none"><i class="layui-icon"></i></a><a title="Delete"href="javascript:;"onclick= "cate_del(this,\'1\')"style="text-decoration:none"><i class="layui-icon"></i></a>< ;/td></tr>');
-------------------------- ----------
controller
--------------------------
return json(['status'=>$status,'message'=>$request->param('cate_name'),'res'=>$res]);