From 0056e099d79f76e685d3a80f8d9378eb71020d8a Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 18 Jul 2024 10:01:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyData.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyData.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SrcJyData.js b/SrcJyData.js index 6fb38d15..86cc9bc3 100644 --- a/SrcJyData.js +++ b/SrcJyData.js @@ -11,7 +11,7 @@ function getYiData(jkdata) { let api_ua = jkdata.ua || "MOBILE_UA"; api_ua = api_ua == "MOBILE_UA" ? MOBILE_UA : api_ua == "PC_UA" ? PC_UA : api_ua; let headers = { 'User-Agent': api_ua }; - let vodhost, classurl, listurl, detailurl, listnode, extdata, noerji; + let vodhost, classurl, listurl, detailurl, listnode, extdata, noerji, coltype; //分类变量 let fold = getMyVar('SrcJu_dianbo$fold', "0");//是否展开小分类筛选 let cate_id = getMyVar('SrcJu_dianbo$分类', ''); @@ -104,6 +104,9 @@ function getYiData(jkdata) { if(rule.二级=="*"){ noerji = 1; } + if(rule.hikerClassListCol){ + coltype = rule.hikerClassListCol; + } } } else if (api_type == "hipy_t4") { classurl = api_url + "&extend=" + jkdata.ext + "&filter=true"; @@ -620,7 +623,8 @@ function getYiData(jkdata) { return { fllists: fllists, vodlists: vodlists, - error: error + error: error, + coltype: coltype } } // 获取搜索数据