/* eslint-disable no-unused-vars */

/* eslint-disable arrow-parens */
import request from '../../service/request';
import { urlConfig } from '../../utils/mock';
/*
 * 新增或者修改
 * */

const updateAddressApi = params => {
  const url = `${urlConfig}/api/v1/mall/address/updateOrSave`;
  return request.post(url, params); // return new Promise(v => {
  //   v({
  //     data: '',
  //   });
  // });
};

export default {
  updateAddressApi
};