import type { PageParams } from '@/types/global'
import { request } from '@/utils/request'

export const postConfigApi = (data?: PageParams) => {
  return request(
    {
      method: 'POST',
      url: 'customs/CustomsConfig/config',
      data,
	  apiName:true
    },
    false,
  )
}

export const postDataMainApi = (data?: PageParams) => {
  return request({
      method: 'POST',
      url: 'customs/Index/dataMain',
      data,
	  apiName:false
    },
    false,
  )
}

export const postDataSmartApi = (data) => {
  return request({
      method: 'POST',
      url: 'customsServices/CustomsServicesConfig/config',
      data,
	  apiName:true
    },
    false,
  )
}

