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

//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