1234567891011121314151617181920212223242526272829303132333435 |
- import request from '@/utils/request'
- export function getAddressList(data) {
- return request({
- url: '/api/address/list',
- method: 'get',
- data
- });
- }
- export function addressEdit(data) {
- return request({
- url: '/api/address/edit',
- method: 'post',
- data
- });
- }
- // 删除地址
- export function addressDel(data) {
- return request({
- url: '/api/address/del',
- method: 'post',
- data
- });
- }
- // 设为默认地址
- export function setAddressDefault(data) {
- return request({
- url: '/api/address/default/set',
- method: 'post',
- data
- });
- }
|