Control layer returns data, error solution
“橙”-景安服务器**
“橙”-景安服务器** 2018-02-24 13:37:53
0
1
1264

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]);


“橙”-景安服务器**
“橙”-景安服务器**

reply all(1)
吓的一滚

give it a like

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template