|
@@ -687,16 +687,17 @@ $(document).ready(function($) {
|
|
|
var url = 'https://api.ptt.cx:8750/api/v1/user/';
|
|
|
var access_token = get_access_token();
|
|
|
var headers = {'Authorization': 'Bearer ' + access_token}
|
|
|
-
|
|
|
+ let num_per_page = 20;
|
|
|
+
|
|
|
|
|
|
$.ajax({
|
|
|
url: url,
|
|
|
headers: headers,
|
|
|
success: function(res, status, jqXHR) {
|
|
|
console.log(res); // test
|
|
|
-
|
|
|
var temp = "";
|
|
|
var adminStr = "";
|
|
|
+
|
|
|
let f = 0;
|
|
|
for (let i=0; i < res.length; i++) {
|
|
|
if (res[i].userid) {
|