import request from '@/utils/request'; // 密码登录 export const userLoginApi = (data)=>{ return request.post('/login/account', data); } // 微信登录 export const userLoginWeixinApi = (data)=>{ return request.post('/login/mnpLogin', data); } // 添加地址 export const addressCreateApi = (data)=>{ return request.post('/user/address/create', data); } // 修改地址 export const addressEditApi = (data)=>{ return request.post('/user/address/edit', data); } // 删除地址 export const addressDeleteApi = (data)=>{ return request.post('/user/address/delete', data); } // 地址列表 export const addressListsApi = (data)=>{ return request.get('/user/address/lists', data); } // 地址详情 export const addressDetailApi = (data)=>{ return request.get('/user/address/detail', data); } // 自提点列表 export const merchantListApi = (data)=>{ return request.get('/merchant/merchant/lists', data); }