class="md-fences md-end-block md-fences-with-lineno ty-contain-cm modeLoaded"
lang="javascript"
cid="n312"
mdtype="fences"
style="box-sizing: border-box;
overflow: visible;
font-family: "
Fira Code",
Consolas, "
Lucida Console",
Courier, monospace, "
Helvetica Neue",
Helvetica, "
Arial sans-serif";
font-size: 0.9rem;
display: block;
break-inside: avoid;
text-align: left;
white-space: normal;
background-image:
inherit; background-position: inherit;
background-size: inherit;
background-repeat: inherit;
background-attachment: inherit;
background-origin: inherit;
background-clip: inherit;
background-color: rgb(34, 37, 38);
position: relative !important;
padding: 6px 10px 6px 0px;
box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 5px 0px, rgba(0, 0, 0, 0.12) 0px 2px 10px 0px;
margin-bottom: 2.10526rem;
border: none;
border-radius: 6px;
width: inherit; color: rgb(171, 192, 208);
font-style: normal;
font-variant-ligatures: normal;
font-variant-caps: normal;
font-weight: 400;
letter-spacing: normal;
orphans: 2; text-indent: 0px; text-transform: none;
widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px;
text-decoration-style: initial;
text-decoration-color: initial;">
$.ajax({
type: // 请求方式,
url: // 请求地址,
async: // 布尔值,表示请求是否异步处理。默认是 true ,
contentType: // 发送的内容类型,
data: // 发送到服务器的数据,JSON类型,
dataType: // 响应的数据类型,
success: function(data){},// 请求成功时运行的函数
error:function(e){} // 请求失败要运行的函数。
});