import request from '@/utils/request';

export async function credentialCourseList(data) {
  return request({
    path: '/train/credential/course/list',
    data,
    type: 'get',
  });
}

export async function credentialPersonQuery(data) {
  return request({
    path: '/train/credential/person/query',
    data,
    type: 'get',
  });
}

export async function credentialPersonCourseList(data) {
  return request({
    path: '/train/credential/person/course/list',
    data,
    type: 'get',
  });
}