18 lines
517 B
JavaScript
18 lines
517 B
JavaScript
|
import { http } from '@/utils/request.js';
|
||
|
// 修改地址
|
||
|
export function APIPostModificationAddress(data) {
|
||
|
return http.post('/api/waddress/updateWaddress', data);
|
||
|
}
|
||
|
// 添加地址
|
||
|
export function APIPostAddAddress(data) {
|
||
|
return http.post('/api/waddress/addWaddress', data);
|
||
|
}
|
||
|
// 查询地址
|
||
|
export function APIGetinquireAddress() {
|
||
|
return http.get('/api/waddress/getWaddressByuid');
|
||
|
}
|
||
|
// 删除地址
|
||
|
export function APIGetDeleteAddress(id) {
|
||
|
return http.get(`/api/waddress/deleteWaddress?id=${id}`);
|
||
|
}
|