Sign in

cnlive_project / cnlive-community-web-vue · Files

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • cnlive-community-web-vue
  • src
  • api
  • tengxi
  • index.ts
  • build config
    7b460537
    杨泽宇 authored
    2021-12-29 11:32:35 +0800  
    Browse Code »
index.ts 285 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import request from '../request'

export const home_list = async ( params: any ) => {
  let res: any = await request.get( '/user/list', { params } )
  return res
}

export function getUserInfo(id) {
  return request({
    method: 'get',
    url: '/user/list',
    params: { id }
  })
}