mirror of
https://github.com/alantang1977/X.git
synced 2025-03-14 08:11:07 +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:
|
tabs:`js:
|
||||||
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
||||||
TABS=[]
|
TABS=[]
|
||||||
let d = pdfa(html, 'table.t_table a');
|
let d = pdfa(html, 'div.pcb table.t_table a');
|
||||||
let tabsa = [];
|
let tabsa = [];
|
||||||
let tabsq = [];
|
let tabsq = [];
|
||||||
let tabsm = false;
|
let tabsm = false;
|
||||||
|
@ -80,7 +80,7 @@ log('4khdr TABS >>>>>>>>>>>>>>>>>>' + TABS);
|
||||||
log(TABS);
|
log(TABS);
|
||||||
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
||||||
LISTS = [];
|
LISTS = [];
|
||||||
let d = pdfa(html, 'table.t_table a');
|
let d = pdfa(html, 'div.pcb table.t_table a');
|
||||||
let lista = [];
|
let lista = [];
|
||||||
let listq = [];
|
let listq = [];
|
||||||
let listm = [];
|
let listm = [];
|
||||||
|
|
|
@ -64,19 +64,21 @@ let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params));
|
||||||
Object.assign(_fetch_params, postData);
|
Object.assign(_fetch_params, postData);
|
||||||
log("funletu search postData>>>>>>>>>>>>>>>" + JSON.stringify(_fetch_params));
|
log("funletu search postData>>>>>>>>>>>>>>>" + JSON.stringify(_fetch_params));
|
||||||
let new_html=post(rule.homeUrl + 'search', _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 json=JSON.parse(new_html);
|
||||||
let d=[]
|
let d=[]
|
||||||
for(const it in json["data"]){
|
for(const it in json["data"]){
|
||||||
if (json.data.hasOwnProperty(it)){
|
if (json.data.hasOwnProperty(it)){
|
||||||
log("funletu search it>>>>>>>>>>>>>>>" + JSON.stringify(json.data[it]));
|
log("funletu search it>>>>>>>>>>>>>>>" + JSON.stringify(json.data[it]));
|
||||||
d.push({
|
if (json.data[it].valid === 0){
|
||||||
title:json.data[it].title,
|
d.push({
|
||||||
img:'',
|
title:json.data[it].title,
|
||||||
content:json.data[it].updatetime,
|
img:'',
|
||||||
desc:json.data[it].updatetime,
|
content:json.data[it].updatetime,
|
||||||
url:'push://'+json.data[it].url.split("?")[0]
|
desc:json.data[it].updatetime,
|
||||||
});
|
url:'push://'+json.data[it].url.split("?")[0]
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
setResult(d);
|
setResult(d);
|
||||||
|
|
Loading…
Reference in a new issue