import { http } from '@/util'

const base = "/address/address/";
export const add = (data)=>http.post(base,data)
export const update = (data)=>http.put(base,data)
export const updateDefaulted = (id)=>http.put(base+"defaulted-"+id)
export const del = (ids)=>http.delete(base+ids)
export const page = (params)=>http.get(base+'page',{params})