普兆健康管家前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 lines
938 B

// 收货地址相关接口
const api = {
// 小程序收货地址-地址列表查询
getAddressList: {
url: '/address/list',
method: 'GET',
auth: true,
showLoading : true,
},
// 小程序收货地址-通过id查询
getAddressById: {
url: '/address/getById',
method: 'GET',
showLoading : true,
},
// 小程序收货地址-添加地址
addAddress: {
url: '/address/add',
method: 'POST',
limit : 500,
showLoading : true,
},
// 小程序收货地址-删除地址,多个用,分割
deleteAddress: {
url: '/address/delete',
method: 'POST',
limit : 500,
showLoading : true,
},
// 小程序收货地址-修改地址
updateAddress: {
url: '/address/update',
method: 'PUT',
limit : 500,
showLoading : true,
},
// 小程序收货地址-设置默认地址
setAddressDefault: {
url: '/address/setDefault',
method: 'PUT',
limit : 500,
showLoading : true,
},
}
export default api