前端代码:
<div class="article-foot"></div>
function findContent(dId) {
$.ajax({
type: "GET",
url: "dangerinformaticas/getContent?dangerId=" + dId,
dataType: "json",
success: function (data) {
if (data.length == 0) {
//如果查出来的