prod.js 585 Bytes
import request from '@/utils/request'
import {
  Notification
} from 'element-ui'

// export const getPersonInfo = data => {
//   return service({
//     url: '/person_pay/getpersoninfo',
//     method: 'post',
//     data
//   })
// }

export function fetchList(query) {
  // console.log('api/prod/list/ ==fetchList=== query', query);
  const options = {
    type: 'error',
    message: query,
    title: '==query value ===',
    showClose: true,
    duration: 4000
  }
  Notification(options)
  return request({
    url: '/yp/prod/list',
    method: 'post',
    params: query
  })
}