import Request from '../common/request.js';
let request = new Request().http

 export function getCity() {
 	 return request('/app/address/getCity',null,'GET');
 }
 export function getCitys() {
 	 return request('/app/address/getCitys',null,'GET');
 }
 export function getAddressList() {
 	 return request('/app/address/getAddressList',null,'GET');
 }

 export function getAddressById(data) {
 	 return request('/app/address/getAddressById',data,'GET');
 } 
 
 export function addAddress(data) {
 	return request('/app/address/addAddress',data,'POST','application/json;charset=UTF-8');
 }

 export function editAddress(data) {
 	return request('/app/address/editAddress',data,'POST','application/json;charset=UTF-8');
 }
 export function delAddress(data) {
 	return request('/app/address/delAddress',data,'POST','application/json;charset=UTF-8');
 }
 
 export function parseAddress(data) {
 	return request('/app/address/parseAddress',data,'POST','application/json;charset=UTF-8');
 }
 
 export function delAllAddress(data) {
 	return request('/app/address/delAllAddress',data,'POST','application/json;charset=UTF-8');
 }
 
 