更新 'SrcParseS.js'

master
src48597962 6 months ago
parent 28a693eea6
commit ba2fdc5f98
  1. 3
      SrcParseS.js

@ -636,7 +636,7 @@ var SrcParseS = {
//let rurl = JSON.parse(html).url || JSON.parse(html).data; //let rurl = JSON.parse(html).url || JSON.parse(html).data;
return rurl; return rurl;
} }
let head = obj.ulist.header||{};
function exeWebRule(webUrl, music) { function exeWebRule(webUrl, music) {
return executeWebRule(webUrl, $.toString((music) => { return executeWebRule(webUrl, $.toString((music) => {
try{ try{
@ -697,6 +697,7 @@ var SrcParseS = {
return {url: rurl,ulist: obj.ulist}; return {url: rurl,ulist: obj.ulist};
}else{ }else{
let taskheader = {withStatusCode:true,timeout:8000}; let taskheader = {withStatusCode:true,timeout:8000};
let head = obj.ulist.header||{};
if(JSON.stringify(head) != "{}"){ if(JSON.stringify(head) != "{}"){
taskheader['header'] = head; taskheader['header'] = head;
} }

Loading…
Cancel
Save