Update SrcJuying.js

pull/1/head
jevons0411 3 years ago
parent d6da39daf1
commit 486d0158d2
  1. 8
      SrcJuying.js

@ -111,10 +111,10 @@ function jiekouyiji() {
log('api类型错误') log('api类型错误')
} }
}catch(e){ }catch(e){
log("访问异常,请更换接口 "+e.message); log(api_name+' 接口访问异常,请更换接口!'+e.message);
var typeclass = []; var typeclass = [];
} }
if(typeclass.length>0){ if(typeclass&&typeclass.length>0){
if(!getMyVar('SrcJuying$type_id')){putMyVar('SrcJuying$type_id',''+typeclass[0].type_id)} if(!getMyVar('SrcJuying$type_id')){putMyVar('SrcJuying$type_id',''+typeclass[0].type_id)}
let type_pids = []; let type_pids = [];
for(let i in typeclass){ for(let i in typeclass){
@ -186,12 +186,12 @@ function jiekouyiji() {
}catch(e){ }catch(e){
if(!list){ if(!list){
d.push({ d.push({
title: api_type+' 接口访问异常,请更换接口!', title: api_name+' 接口访问异常,请更换接口!',
url: '#noHistory#hiker://empty', url: '#noHistory#hiker://empty',
col_type: 'text_center_1' col_type: 'text_center_1'
}); });
} }
log(e.message) log(api_name+' 接口访问异常,请更换接口!'+e.message)
} }
setResult(d); setResult(d);
} }

Loading…
Cancel
Save