The data controller submitted from the template form cannot be received using Request.
歌神~
歌神~ 2019-09-02 10:20:08
0
1
946

//Front-end data submission

$('#submit').on("click",function (event) {
alert("hao");
$.ajax( {
type: "POST",
url: "{:url('Ruku/tianjia')}",
data: $("#form-admin-add").serialize(),
dataType: "json",
success: function(data){
alert(data);
}#%2

歌神~
歌神~

reply all(1)
ZiMing

Try changing it to the following:

$param = $this->request->param();

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!