json 请求后台,并接受返回的list数据

来源:互联网 发布:windows 8.1专业版激活 编辑:程序博客网 时间:2024/04/30 11:57

json 请求后台,并接受返回的list数据


$.getJSON("${ctx}/productOperatorProduct/findPopByProId", {id : id}, function(data) {if (data.resultCode == -1) {$.messager.alert('消息', data.resultMsg);} else {$.each(data.content, function(index, element) {alert("proId===" + element.proId);});}});


0 0
原创粉丝点击