import request from '@/utils/request' import { upFilse} from '@/utils/request'; // 获取用户信息 export function getUserInfo(data) { return request({ url: '/api/userinfo', method: 'get', data }); } // 获取用户信息 export function getUser(data) { return request({ url: '/api/user', method: 'get', data }); } //推荐人 export function spread_people(data) { return request({ url: '/api/spread/people', method: 'post', data }); } //推荐人 export function spread(data) { return request({ url: '/api/spread/banner', method: 'GET', data }); } //获取版本 export function version(data) { return request({ url: '/api/version', method: 'GET', data }) } export function uploads(data){ return upFilse({ url:'/api/upload/image', method:'post', data }); } export function edit(data){ return request({ url: '/api/user/edit', method:'post', data }); }