77 lines
2.0 KiB
JavaScript
77 lines
2.0 KiB
JavaScript
|
|
import request from "@/utils/request.js";
|
|
|
|
/**
|
|
* 获取门店列表
|
|
*
|
|
*/
|
|
export function getStoreList(params) {
|
|
return request.get('repair/merchant/search/list', params, {
|
|
noAuth: true
|
|
});
|
|
}
|
|
|
|
/**
|
|
* 获取热门城市 /api/front/hot/city/list/all
|
|
*/
|
|
export const getHotCityAPI = () => request.get('hot/city/list/all')
|
|
|
|
/**
|
|
* 轮播图 /api/front/carousel/list
|
|
*/
|
|
export const getCarouselAPI = () => request.get('carousel/list')
|
|
|
|
/**
|
|
* 获取当前时间 /api/front/date/get/time
|
|
*/
|
|
export const getTimeAPI = () => request.get('date/get/time')
|
|
|
|
/**
|
|
* 预约时间模块 /api/front/date/list
|
|
*/
|
|
export const getDateListAPI = (params) => request.get('date/list',params,{noAuth: true})
|
|
|
|
/**
|
|
* 获取我的汽车 /api/front/car/user/center/getMyCar
|
|
*/
|
|
export const getMyCarAPI = () => request.get('car/user/center/getMyCar',{noAuth: true})
|
|
|
|
/**
|
|
* 预约工单创建 /api/front/car/user/center/reservation/order/create
|
|
*/
|
|
export const reservationCreateAPI = (data) => request.post('car/user/center/reservation/order/create',data)
|
|
|
|
/*
|
|
* 实名详情更具id /api/front/certification/detail/now
|
|
*/
|
|
export const realNameDetaiNowlAPI = () => request.get(`certification/detail/now`)
|
|
|
|
/**
|
|
* 绑定车辆 /api/front/car/user/center/bind
|
|
*/
|
|
export const userBindAPI=(data)=>request.post('car/user/center/bind', data);
|
|
|
|
/**
|
|
* 用户实名添加 /api/front/certification/add
|
|
*/
|
|
export const certificationAPI=(data)=>request.post('certification/add', data);
|
|
|
|
/**
|
|
* 车辆型号分页列表 /api/front/car/model/list
|
|
*/
|
|
export const modelListAPI = (params) => request.get('car/model/list', params,{noAuth: true})
|
|
|
|
/**
|
|
* 用户信息 /api/front/user/info
|
|
*/
|
|
export const getMineInfoAPI = () => request.get('user/info')
|
|
|
|
/**
|
|
* 用户完整信息 /api/front/user/user/info
|
|
*/
|
|
export const getAllMineInfoAPI = () => request.get('user/user/info')
|
|
|
|
/**
|
|
* 更具车牌号查询车辆详情 /api/front/car/user/center/getInfo
|
|
*/
|
|
export const getCarInfoAPI=(params)=>request.get('car/user/center/getInfo', params,{noAuth: true}) |