import request from '@/utils/request' // 订单统计信息 export function orderData(data) { return request({ url: '/api/order/data', method: 'get', data }); } // 信息修改 export function changeInformation(data) { return request({ url: '/api/enterprise/edit', method: 'post', data }); } // 企业认证查询 export function enterprise(data) { return request({ url: '/api/enterprise/rate', method: 'get', data }); } // 获取用户信息 export function getUserInfo(data) { return request({ url: '/api/userinfo', method: 'get', data }); } // 用户分享图 export function spreadBanner(data) { return request({ url: '/api/spread/banner', method: 'get', data }); } // 获取地址列表 export function getAddressList(data) { return request({ url: '/api/address/list', method: 'get', data }); } // 修改地址 export function addressEdit(data) { return request({ url: '/api/address/edit', method: 'post', data }); } // 删除地址 export function addressDel(data) { return request({ url: '/api/address/del', method: 'post', data }); } // 设为默认地址 export function setAddressDefault(data) { return request({ url: '/api/address/default/set', method: 'post', data }); } // 购物车列表 export function getCartList(data) { return request({ url: '/api/cart/list', method: 'get', data }); } // 修改购物车数量 export function getCartNum(data) { return request({ url: '/api/cart/num', method: 'post', data }); } //删除购物车 export function cartDel(data) { return request({ url: '/api/cart/del', method: 'post', data }); } //获取收藏夹列表 export function getcollectList(data) { return request({ url: '/api/collect/user', method: 'get', data }); } // 取消收藏 export function delcollect(data) { return request({ url: '/api/collect/del', method: 'post', data }); } //我的推广 export function spread(data) { return request({ url: '/api/spread/people', method: 'POST', data }); } //企业类型 export function stylelist(data) { return request({ url: '/api/enterprise/stylelist', method: 'GET', data }); } //职务类型 export function postlist(data) { return request({ url: '/api/enterprise/job/list', method: 'GET', data }); } //加入提交 export function joinSubmit(data) { return request({ url: '/api/enterprise/apply/add', method: 'GET', data }); } //企业认证 export function auth(data) { return request({ url: '/api/user/auth', method: 'POST', data }); } //订阅列表 export function subscribe(data) { return request({ url: '/api/user/subscribe', method: 'GET', data }); } //订阅详情 export function enDetails(data) { return request({ url: '/api/enterprise/details', method: 'GET', data }); } //我的评论 export function my_reply(data) { return request({ url: '/api/article/my_reply', method: 'GET', data }); } //回复我的评论 export function to_my_reply(data) { return request({ url: '/api/article/to_my_reply', method: 'GET', data }); } //getCyType export function getCyType(data) { return request({ url: '/api/enterprise/category', method: 'GET', data }); }