You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" >
< title > Title< / title >
<!-- 引用jquery -->
< script src = "jquery.min.js" > < / script >
< / head >
< body >
Login Success!
< input type = "button" id = "button1" value = "读取数据列表" onclick = "readList()" >
< / body >
< script >
function readList ( ) {
var data = { "limit" : 10 , "page" : 1 , "keyword" : "" }
$ . ajax ( {
url : "/sso/getSsoSystemList" , //请求的url地址
dataType : "json" , //返回格式为json
data : data ,
async : true , //请求是否异步, 默认为异步, 这也是ajax重要特性
type : "POST" , //请求方式
success : function ( req ) {
console . log ( req )
}
} ) ;
}
$ ( document ) . ready ( function ( ) {
} ) ;
< / script >
< / html >