mycar.js 555 Bytes
import request from '@/utils/request'

/**
 * 车主查询自己的车牌信息
 */
export function getPersonCarNumPC() {
  return request({
    url: '/personCarNumPc/getPersonCarNumPC',
    method: 'post'
  })
}

/**
 * 绑定车牌
 * @param params
 */
export function boundCarNum(params) {
  return request({
    url: '/personCarNumPc/boundCarNum',
    method: 'post',
    params
  })
}

/**
 * 解绑车牌
 * @param params
 */
export function unboundCarNum() {
  return request({
    url: '/personCarNumPc/unboundCarNum',
    method: 'post'
  })
}