mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-05-12 08:38:31 +08:00
19 lines
467 B
JavaScript
19 lines
467 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("加载可访问的用户列表失败!");
|
|||
|
}
|
|||
|
});
|
|||
|
}
|