1$(function(){ 2 var aAccid = $('.accid'), 3 accidStr = '', 4 accidArr = [] 5 6 aAccid.each(function(){ 7 8 var accidNum = $(this).attr("data-accid") 9 10 accidArr.push( accidNum ) 11 12 }) 13 14 accidStr = accidArr.join() 15 16 $.ajax({ 17 url: "https://my.tnc.com.cn/neteaseIM/status/list.json", 18 data: "companyIds=" + accidStr, 19 type: "get", 20 dataType: "json", 21 success: function(data) { 22 if(data){ 23 $.each(accidArr,function(index,obj){ 24 var _tempInfo = data[obj]; 25 if(_tempInfo && -1 != _tempInfo.status){ 26 //ææå¾æ é½ç¹äº® 27 $("a[data-accid='" + obj + "']").addClass('accid-online').attr('href',_tempInfo.url); 28 } 29 }); 30 } 31 } 32 }); 33});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.