import request from '@/utils/request'

export function getSDGSAT1Info() {
  return request({
    url: '/portal/sdgsat1/info',
    method: 'get'
  })
}

export function getSDGSAT1Specs() {
  return request({
    url: '/portal/sdgsat1/specs',
    method: 'get'
  })
}

export function getInstrumentList() {
  return request({
    url: '/portal/sdgsat1/instruments',
    method: 'get'
  })
}

export function getApplicationAreaList() {
  return request({
    url: '/portal/sdgsat1/applications',
    method: 'get'
  })
}

export function getDataServiceInfo() {
  return request({
    url: '/portal/sdgsat1/data-service',
    method: 'get'
  })
}

export function getAchievementList() {
  return request({
    url: '/portal/sdgsat1/achievements',
    method: 'get'
  })
}

export function getIntroduction() {
  return request({
    url: '/sdgsat1/introduction',
    method: 'get'
  })
}

export function getCaseList() {
  return request({
    url: '/sdgsat1/case/list',
    method: 'get'
  })
}

export function getCaseDetail(id) {
  return request({
    url: `/sdgsat1/case/${id}`,
    method: 'get'
  })
}
