

// 地址相关接口

const api = {
	// 获取地址列表
	getAddressList: {
		url: '/applet/address/getAddressList',
		method: 'GET', 
		limit : 500,
		showLoading : true,
	},
	// 保存或修改地址
	saveOrUpdateAddress: {
		url: '/applet/address/saveOrUpdateAddress',
		method: 'POST',
		auth: true,
	},
	// 修改默认地址
	updateDefaultAddress: {
		url: '/applet/address/updateDefaultAddress',
		method: 'POST',
		auth: true, 
		limit : 500,
		showLoading : true,
	},
	// 获取地址详情
	getAddressInfo: {
		url: '/applet/address/getAddressInfo',
		method: 'GET',
		auth: true,
	},

	deleteAddress: {
		url: '/applet/address/deleteAddress',
		method: 'POST',
		auth: true,
	},
	
	getFreeCityList: {
		url: '/applet/index/getFreeCityList',
		method: 'GET',
		auth: true,
	},
}

export default api