url
This commit is contained in:
@@ -8,9 +8,15 @@ let request = function (obj){
|
||||
dataType,
|
||||
responseType,
|
||||
complete,
|
||||
name
|
||||
name,
|
||||
urldata
|
||||
} = obj
|
||||
url="http://daigou.sdbairui.com/index.php/WXAPI/" + url
|
||||
let text = ""
|
||||
for(let i in urldata){
|
||||
text += `/${i}/${urldata[i]}`
|
||||
}
|
||||
url+=text
|
||||
if(method == "POST" || method == "post"){
|
||||
if(header == undefined){
|
||||
header ={}
|
||||
|
||||
Reference in New Issue
Block a user