import request from '@/utils/request'


// 根据编研id和目录id查询编写对象
export const getWriter = params => {
  return request({
    url: '/point-strategy/v/compilationData/selectOneByDataIdAndCatalogId',
    method: 'get',
    params
  })
}
//  添加-在线编写
export const addOnlineWriting = data => {
  return request({
    url: '/point-strategy/v/compilationData/addOnlineWriting',
    method: 'post',
    data
  })
}
