var init = function () { var token = localStorage.getItem("token"); if(token){ token = token.substr(1,token.length-2); } http.get('/api/tx-manager/admin/onlines?access_token='+token, '加载数据...', function (res) { var list = $("#list"); list.empty(); for (var p in res) { var obj = res[p]; var tr = '