db2e7890 by yangjianbin

init

1 parent 8ba7aa11
......@@ -68,13 +68,16 @@
dataType:'json',
contentType: "application/json; charset=UTF-8",
success:function(data){
alert('success');
if(data.msg){
alert(data.msg);
} else if(data.code != 0){
alert('请求失败');
} else {
alert('请求成功');
}
},
error:function(){
alert("请求失败")
},
complete:function () {
alert('complete')
}
})
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!