mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-05-10 07:38:01 +08:00
19 lines
485 B
JavaScript
19 lines
485 B
JavaScript
$(function() {
|
|
$.getclientdata();
|
|
});
|
|
|
|
var clientuserData = [];
|
|
$.getclientdata = function () {
|
|
$.ajax({
|
|
url: "/UserManager/GetAccessedUsers",
|
|
type: "get",
|
|
dataType: "json",
|
|
async: false,
|
|
success: function (data) {
|
|
clientuserData = data;
|
|
},
|
|
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
|
console.log("加载可访问的用户列表失败!");
|
|
}
|
|
});
|
|
} |