import request from '@/router/axios'

export const getMemberList = (current, size, params) =>
    request({
        url: '/api/jobslink-api/doc/jkLabourUnionAppl/list',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    });

export const getApplyList = (current, size, params) =>
    request({
        url: '/api/jobslink-api/doc/jkLabourUnionDetail/list', method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    });


//获取会员认证信息
export const memberInfo = (no) =>
    request({
        url: '/api/jobslink-api/doc/jkLabourUnionAppl/list',
        method: 'get',
        params: {
            no
        }
    });

//会员求职登记信息
export const memberJobInfo = (userId) => {
    return request({
      url: '/api/jobslink-api/user/user/resume/labourUnionFind',
      method: 'get',
      params:{
        userId
      }
    })
  }

//会员技能信息
export const memSkillInfo = (userId) => {
    return request({
      url: '/api/jobslink-api/user/user/skills/labourUnionFind',
      method: 'get',
      params:{userId}
    })
  }

  //会员申请列表
  export const memApplyList=(no)=>request({
    url: "jobslink-api/doc/jkLabourUnionDetail/list",
    method: 'get',
    params:{no}
  })
