更新 'SrcJySet.js'

master
src48597962 2 years ago
parent 97868df372
commit 01f9cad0fe
  1. 5
      SrcJySet.js

@ -1055,7 +1055,10 @@ function jiekou(lx,data) {
let apiua = getMyVar('apiua','MOBILE_UA'); let apiua = getMyVar('apiua','MOBILE_UA');
let isupdate = 0; let isupdate = 0;
if(getMyVar('addtype', '1')=="1"&&apiname&&apiurl){ if(getMyVar('addtype', '1')=="1"&&apiname&&apiurl){
let urltype = getMyVar('apitype'); let urltype = getMyVar('apitype')||getapitype(apiurl);
if(!urltype){
return "toast://无法自动识别接口类型,请检查链接";
}
let apigroup = getMyVar('apigroup'); let apigroup = getMyVar('apigroup');
let apidata = getMyVar('apidata'); let apidata = getMyVar('apidata');
let arr = {"name": apiname.trim(), "url": apiurl.trim(), "ua": apiua, "type": urltype }; let arr = {"name": apiname.trim(), "url": apiurl.trim(), "ua": apiua, "type": urltype };

Loading…
Cancel
Save