Add files via upload

This commit is contained in:
alantang 2023-08-29 15:08:42 +08:00 committed by GitHub
parent 91033887b0
commit c72ec53f1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 10 deletions

View file

@ -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 = [];

View file

@ -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);