PageSourceSearch

https://www.forestry.gov.cn/r/cms/www/default/js/permCheck.js

js forestry.gov.cn collected 2026-10-02 04:31:46 UTC 578 bytes, 21 lines download raw bytes

1
2function genPermCheck(aid,bid,base) {
3  let url = base || '';
4  let contentId = Number(aid) || '';
5  let channelId = Number(bid) || '';
6  console.log(url,contentId,channelId);
7  $.ajax({
8      url: url + "/permCheck",
9      data: {
10          contentId:contentId || '',
11          channelId:channelId || ''
12      },
13      success: function (result) {
14        if (result.data == 3||result.data == 4){
15          location.href = url + "/common-errorauth.htm";
16        } else if(result.data!=1){
17          location.href = url + "/login";
18        }
19      }
20  });
21}

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.