mirror of
https://github.com/alantang1977/X.git
synced 2025-01-11 15:43:09 +02:00
Add files via upload
This commit is contained in:
parent
91033887b0
commit
c72ec53f1b
2 changed files with 12 additions and 10 deletions
|
@ -37,7 +37,7 @@ var rule = {
|
|||
tabs:`js:
|
||||
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
||||
TABS=[]
|
||||
let d = pdfa(html, 'table.t_table a');
|
||||
let d = pdfa(html, 'div.pcb table.t_table a');
|
||||
let tabsa = [];
|
||||
let tabsq = [];
|
||||
let tabsm = false;
|
||||
|
@ -80,7 +80,7 @@ log('4khdr TABS >>>>>>>>>>>>>>>>>>' + TABS);
|
|||
log(TABS);
|
||||
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
||||
LISTS = [];
|
||||
let d = pdfa(html, 'table.t_table a');
|
||||
let d = pdfa(html, 'div.pcb table.t_table a');
|
||||
let lista = [];
|
||||
let listq = [];
|
||||
let listm = [];
|
||||
|
|
|
@ -64,19 +64,21 @@ let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params));
|
|||
Object.assign(_fetch_params, postData);
|
||||
log("funletu search postData>>>>>>>>>>>>>>>" + JSON.stringify(_fetch_params));
|
||||
let new_html=post(rule.homeUrl + 'search', _fetch_params);
|
||||
log("funletu search result>>>>>>>>>>>>>>>" + new_html);
|
||||
//log("funletu search result>>>>>>>>>>>>>>>" + new_html);
|
||||
let json=JSON.parse(new_html);
|
||||
let d=[]
|
||||
for(const it in json["data"]){
|
||||
if (json.data.hasOwnProperty(it)){
|
||||
log("funletu search it>>>>>>>>>>>>>>>" + JSON.stringify(json.data[it]));
|
||||
d.push({
|
||||
title:json.data[it].title,
|
||||
img:'',
|
||||
content:json.data[it].updatetime,
|
||||
desc:json.data[it].updatetime,
|
||||
url:'push://'+json.data[it].url.split("?")[0]
|
||||
});
|
||||
if (json.data[it].valid === 0){
|
||||
d.push({
|
||||
title:json.data[it].title,
|
||||
img:'',
|
||||
content:json.data[it].updatetime,
|
||||
desc:json.data[it].updatetime,
|
||||
url:'push://'+json.data[it].url.split("?")[0]
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
setResult(d);
|
||||
|
|
Loading…
Reference in a new issue