This commit is contained in:
2019-12-20 09:51:28 +08:00
parent edc8983853
commit 3cf388faed
6 changed files with 31 additions and 6 deletions

View File

@@ -14,7 +14,13 @@ let request = function (obj){
url="http://daigou.sdbairui.com/index.php/WXAPI/" + url
let text = ""
for(let i in urldata){
text += `/${i}/${urldata[i]}`
if(urldata[i] == undefined){
text += `/${i}`
}else{
text += `/${i}/${urldata[i]}`
}
}
url+=text
if(method == "POST" || method == "post"){