This commit is contained in:
2019-12-19 14:18:09 +08:00
parent c3addc7383
commit f51effaf09
3 changed files with 59 additions and 5 deletions

View File

@@ -16,6 +16,10 @@ let request = function (obj){
}
header['content-type'] = "application/x-www-form-urlencoded"
}
if(data == undefined){
data = {}
}
data.openid = wx.getStorageSync("openid")
return new Promise((res,rej)=>{
wx.request({
url,