address.js 401 B

12345678910111213141516171819202122232425262728
  1. import request from '@/utils/request'
  2. export function getAddressList(data) {
  3. return request({
  4. url: '/api/address/list',
  5. method: 'get',
  6. data
  7. });
  8. }
  9. export function addressEdit(data) {
  10. return request({
  11. url: '/api/address/edit',
  12. method: 'post',
  13. data
  14. });
  15. }
  16. // 删除地址
  17. export function addressDel(data) {
  18. return request({
  19. url: '/api/address/del',
  20. method: 'post',
  21. data
  22. });
  23. }