(1)ajax
$.ajax({
url: '/Home/goods/goods_info',
dataType: 'json',
data: {goods_id: goods_id},
success: function (rsp) {
}
})
(2)get
$.get("{:U('order/get_customer_recommand')}",{ goods_no: goods_no,type: type },function (data) { } });
原文链接:https://www.f2er.com/ajax/161606.html