import request from '@/utils/httpRequest'

export default class EnterpriseSearchService {
  enterpriseSearchByName (name) {
    return request({
      url: `/enterprise_search_api/enterpriseSearchByName`,
      method: 'post',
      params: {keyword: name}
    })
  }
  enterpriseTicketInfo (id) {
    return request({
      url: `/enterprise_search_api/enterpriseTicketInfo`,
      method: 'post',
      params: {id: id}
    })
  }
}
