user.js 1.2 KB

123456789101112131415161718192021
  1. import request from '@/common/util/request'
  2. export const _API_GetUserInfo = data => request.get('/user/per_data', data) // 获取用户信息
  3. export const _API_GetUserStatus = data => request.get('/user/getinfo', data) // 获取用户状态
  4. export const _API_SubAuthInfo = data => request.get('/user/submit_user', data) // 提交用户身份认证信息
  5. export const _API_SubAuthOver = data => request.get('/user/user_cert', data) // 用户确认注册审核通过
  6. export const _API_ConfireLevel = data => request.get('/user/confirm_level', data) // 用户确认级别变动通过
  7. export const _API_Auth_Code = data => request.get('/user/auth_code', data) // 获取授权证书信息
  8. export const _API_Auth_Share = data => request.uploadFile('/user/auth_share', data) // 分享授权证书
  9. export const _API_Proxy_Updata = data => request.get('/proxy/updata', data) // 获取代理升级情况
  10. export const _API_Proxy_Upload = data => request.uploadFile('/proxy/upload', data) // 代理升级上传图片
  11. export const _API_Proxy_UploadUrls = data => request.post('/proxy/updata_urls', data) // 代理升级上传图片 urls
  12. export const _API_Proxy_ChangeName = data => request.post('/user/update_nickname', data) // 代理改名字