const params={
parkingLotCode:this.state.parkingLotCode,
}
console.log(params)
const url=baseUrl+'c/alipay/ailiH5CardPay';
fetch(url, {
method:'post',
headers: {
"Content-type":"application/json"
},
body:JSON.stringify(params)
})
.then(res=>res.json())
.then(data=> {
console.log(data)
})
react,fetch数据接口调用
最新推荐文章于 2023-07-15 11:36:07 发布