tp5 controller returns ajax data
LiuBo
LiuBo 2017-10-23 16:12:28
0
1
913

How does the tp5 controller return ajax data to the front end

I used return but it appears directly on the browser, please give me some advice

LiuBo
LiuBo

老天是不会辜负会努力的人的!!

reply all(1)
路过

return json(your data);

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!