Commit 435ee0ca authored by huangyecong's avatar huangyecong

修改接口地址

parent a3721f48
......@@ -6,46 +6,46 @@ import req from './request'
let api = {}
// 体检客户详情
api.getCustomerDetail = function (data) {
return req.post('/api/mn/mobile/getCustomerDetail', data)
return req.post('/mn/mobile/getCustomerDetail', data)
}
// 修改客户信息
api.improveInformation = function (data) {
return req.post('/api/mn/mobile/improveInformation', data)
return req.post('/mn/mobile/improveInformation', data)
}
// 待预约列表
api.getPackageList = function (data) {
return req.post('/api/mn/mobile/getPackageList', data)
return req.post('/mn/mobile/getPackageList', data)
}
// 已预约列表
api.getAppointmentList = function (data) {
return req.post('/api/mn/mobile/getAppointmentList', data)
return req.post('/mn/mobile/getAppointmentList', data)
}
// 省
api.getProvinceList = function (data) {
return req.post('/api/mobile/getProvinceList', data)
return req.post('/mobile/getProvinceList', data)
}
// 市
api.getCityListByProvinceCode = function (data) {
return req.post('/api/mobile/getCityListByProvinceCode', data)
return req.post('/mobile/getCityListByProvinceCode', data)
}
// 区/城市
api.getDistrictListByCityCode = function (data) {
return req.post('/api/mobile/getDistrictListByCityCode', data)
return req.post('/mobile/getDistrictListByCityCode', data)
}
// 体检机构列表
api.getSupplierList = function (data) {
return req.post('/api/mn/mobile/getSupplierList', data)
return req.post('/mn/mobile/getSupplierList', data)
}
// 体检中心列表
api.getShopByDistrictCode = function (data) {
return req.post('/api/mn/mobile/getShopByDistrictCode', data)
return req.post('/mn/mobile/getShopByDistrictCode', data)
}
// 门店排期
api.getScheduleByCode = function (data) {
return req.post('/api/mn/mobile/getScheduleByCode', data)
return req.post('/mn/mobile/getScheduleByCode', data)
}
// 预约
api.addAppointment = function (data) {
return req.post('/api/mn/mobile/addAppointment', data)
return req.post('/mn/mobile/addAppointment', data)
}
export default api
......@@ -10,7 +10,7 @@ api.userLogin = function (data) {
}
//查询当前语言
api.getLanguageL = function (data) {
return req.post(`/api/web/getLanguage`, data)
return req.post(`/web/getLanguage`, data)
}
api.goLoginInfo = function (data) {
......
......@@ -22,7 +22,7 @@ module.exports = {
devServer: {
proxy: {
"^/api": {
target: "http://lnh.run4wd.com", //测试
target: "http://lnh.run4wd.com/api", //测试
// target: "http://lnh.ssish.com/api/",//生产,需api
ws: true,
changeOrigin: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment