index.js 337 Bytes
import api from '../index'
import urls from './urls'

export default {
  vehicleList(params) {
    return api.get(urls.vehicleList, params)
  },
  detailImg(params,id) {
	  return api.get(urls.detailImg+id, params)
  },
  delVehicle(params,id) {
    // return出去了一个promise
    return api.delete(urls.delVehicle+id,params)
  },
}