PageSourceSearch

https://www.tsa.cn/js/http/api.js

js tsa.cn collected 2026-10-03 17:48:00 UTC 3,407 bytes, 1 lines download raw bytes

1"use strict";function getMe(){return new Promise(function(t,n){tsaAjax({type:"get",url:"/api/me",success:function(n){t(n)}})})}function getCurrentTime(){return new Promise(function(t,n){tsaAjax({type:"get",url:"/api/time/currentTime",success:function(n){t(n)}})})}function getSearchHot(e){return new Promise(function(t,n){tsaAjax({type:"get",url:"/api/search/hot/constant/"+e,success:function(n){t(n)}})})}function getPinyin(e){return new Promise(function(t,n){tsaAjax({type:"get",url:"/api/search/searchWordPinyin?searchWord="+e,success:function(n){t(n)}})})}function getAdBanner(){return new Promise(function(t,n){tsaAjax({type:"get",url:"/api/adBanner/getAdBanner?locations=4",success:function(n){t(n)}})})}function getSearchResult(n){return new Promise(function(t,e){tsaAjax({type:"post",url:"/api/search",data:n,contentType:"application/x-www-form-urlencoded;charset=UTF-8",success:function(n){t(n)},error:function(n){e(n)}})})}function getNotice(n){return new Promise(function(t,e){tsaAjax({type:"get",url:"/api/notice/info/"+n,success:function(n){t(n)},error:function(n){e(n)}})})}function updateCommentCount(e,r){return new Promise(function(t,n){tsaAjax({type:"PUT",url:"/api/comment/updateCommentCount",data:JSON.stringify({contentId:e,moduleId:r}),success:function(n){t(n)}})})}function unreadCount(){return new Promise(function(t,n){tsaAjax({type:"GET",url:"/account/api/messenger/unreadCount",success:function(n){t(n)}})})}function customerMessage(n){return new Promise(function(t,e){tsaAjax({type:"POST",url:"/api/customerMessage",data:JSON.stringify(n),success:function(n){t(n)},error:function(n){e(n)}})})}function sendSmsCode(n){return new Promise(function(t,e){tsaAjax({type:"POST",url:"/api/captcha/sendSmsCode",data:n,contentType:"application/x-www-form-urlencoded;charset=UTF-8",success:function(n){t(n)},error:function(n){e(n)}})})}function sendTools(n){return new Promise(function(t,e){tsaAjax({type:"POST",url:"/api/sendTools",data:JSON.stringify(n),success:function(n){t(n)},error:function(n){e(n)}})})}function precedentStatistics(){return new Promise(function(t,n){tsaAjax({type:"get",url:"/api/precedentStatistics/searchOne",success:function(n){t(n)}})})}function sendReport(n){return new Promise(function(t,e){tsaAjax({type:"POST",url:"/content/api/sendTools/report",data:JSON.stringify(n),success:function(n){t(n)},error:function(n){e(n)}})})}function sendToolsConsultation(n){return new Promise(function(t,e){tsaAjax({type:"POST",url:"/api/sendTools/consultation",data:JSON.stringify(n),success:function(n){t(n)},error:function(n){e(n)}})})}$("#tsa-pc-navigation .tsa-pc-navigation .nav-container .item:not(.subset) a").click(function(){var n=$(this),t="";switch($(this).parent().index()){case 2:t="进行业方案";break;case 4:t="进验证中心";break;case 5:t="进知识百科";break;case 6:t="进典型案例"}return t&&zhuge.track(t),"_self"==n.attr("target")?location.href=n.attr("href"):window.open(n.attr("href")),!1}),$("#tsa-pc-navigation .tsa-pc-navigation .nav-container .subset .subset-container a").click(function(){var n=$(this),t="";switch($(this).index()){case 0:t="进权利卫士";break;case 1:t="进电子取证";break;case 2:t="进知识产权保护";break;case 4:t="进电子签约";break;case 5:t="进邮件认证";break;case 6:t="进AIGC"}return t&&zhuge.track(t),"_self"==n.attr("target")?location.href=n.attr("href"):window.open(n.attr("href")),!1});

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.