`
export default function getStampList(){
let userInfo = wx.getStorageSync('userInfo')
return new Promise(function (resolve, reject) {
let res = wx.request({
url: "http://localhost:9000/api/searchStampAll",
method: "GET",
data: {
username: userInfo.username,
},
header: {
"Content-Type": "application/json"
}
,success:res=>resolve(res)
})
})
}