import request from '@/utils/request'

// id解密
export const idRemark = (data) => {
  return request({
    url: '/enterprise/remark',
    method: 'post',
    data: data
  })
}

// 认领用户
export const claim= function claim(param) {
  return request({
    url: '/customer/claim',
    method: 'post',
    data: param
  })
}
// 历史客户认领
export const historyClaim= function historyClaim(name) {
  return request({
    url: '/customer/historyClaim/'+name,
    method: 'Put',
  })
}
