reception.js 825 Bytes
import http from '../request/http'

module.exports = {
  getToken (data) {
    const params = {
      projectName: 'boutique',
      ...data
    }
    return http.fetch('dj.api.smartcarlife.recepiton.customer.oss.getToken', params, false, 'dj')
  },
  save (data) {
    return http.shukeRequest('linkwe-gateway/reception/reception/save', data, 'POST', true)
  },
  getList (data) {
    return http.shukeRequest('linkwe-gateway/reception/reception/page', data, 'POST', false)
  },
  findCheckResultListByReceptionId (data) {
    return http.shukeRequest('linkwe-gateway/reception/reception/findCheckResultListByReceptionId', data, 'GET', false)
  },
  findConversationDetailByReceptionId (data) {
    return http.shukeRequest('linkwe-gateway/reception/reception/findConversationDetailByReceptionId', data, 'GET', false)
  }
}