// 我的音色库&形象库
import { TCorrectionItem } from '@/types/correction'
import {
  bluebookAiAgent,
} from '@/xiaolanbenlib/api/index'
import request from '@/xiaolanbenlib/module/axios.js'



// 我的纠错--列表
export const getCorrectionList = (params: {
  entId?: string|number,
  startId?: string
  pageSize?: number
}) => {
  return request.get<{
  data?: TCorrectionItem[]
  nextId: number|string,
  totalCount: number|null
} >(`${bluebookAiAgent}api/v1/my/correction/list`, {
    params: params
  })
}

// 获取指定的纠错记录详情
export const getCorrectionDetail = (id: string) => {
  return request.get<{shortScene: string}>(`${bluebookAiAgent}api/v1/my/correction/${id}`)
}


