vm.$http.post(apiUrl.refundOrder, data,{
    headers:{
        'lz-shopid':vm.orderRecords.shopId
    }
}).then(res => {
    if(res.code==1){
        vm.$toast.center(res.message)
    }
}).catch(error => {
    
})

 

export function fetch(url, params = {},headers) {
  return new Promise((resolve, reject) => {
    axios.get(url, {
        params: params,
        headers:headers.headers
      })
      .then(response => {
        resolve(response.data);
      })
      .catch(err => {
        reject(err)
      })
  })
}

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 1970-01-01
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-06-12
  • 2022-12-23
相关资源
相似解决方案