Commit 435ee0ca authored by huangyecong's avatar huangyecong

修改接口地址

parent a3721f48
...@@ -6,46 +6,46 @@ import req from './request' ...@@ -6,46 +6,46 @@ import req from './request'
let api = {} let api = {}
// 体检客户详情 // 体检客户详情
api.getCustomerDetail = function (data) { api.getCustomerDetail = function (data) {
return req.post('/api/mn/mobile/getCustomerDetail', data) return req.post('/mn/mobile/getCustomerDetail', data)
} }
// 修改客户信息 // 修改客户信息
api.improveInformation = function (data) { api.improveInformation = function (data) {
return req.post('/api/mn/mobile/improveInformation', data) return req.post('/mn/mobile/improveInformation', data)
} }
// 待预约列表 // 待预约列表
api.getPackageList = function (data) { api.getPackageList = function (data) {
return req.post('/api/mn/mobile/getPackageList', data) return req.post('/mn/mobile/getPackageList', data)
} }
// 已预约列表 // 已预约列表
api.getAppointmentList = function (data) { api.getAppointmentList = function (data) {
return req.post('/api/mn/mobile/getAppointmentList', data) return req.post('/mn/mobile/getAppointmentList', data)
} }
// 省 // 省
api.getProvinceList = function (data) { api.getProvinceList = function (data) {
return req.post('/api/mobile/getProvinceList', data) return req.post('/mobile/getProvinceList', data)
} }
// 市 // 市
api.getCityListByProvinceCode = function (data) { api.getCityListByProvinceCode = function (data) {
return req.post('/api/mobile/getCityListByProvinceCode', data) return req.post('/mobile/getCityListByProvinceCode', data)
} }
// 区/城市 // 区/城市
api.getDistrictListByCityCode = function (data) { api.getDistrictListByCityCode = function (data) {
return req.post('/api/mobile/getDistrictListByCityCode', data) return req.post('/mobile/getDistrictListByCityCode', data)
} }
// 体检机构列表 // 体检机构列表
api.getSupplierList = function (data) { api.getSupplierList = function (data) {
return req.post('/api/mn/mobile/getSupplierList', data) return req.post('/mn/mobile/getSupplierList', data)
} }
// 体检中心列表 // 体检中心列表
api.getShopByDistrictCode = function (data) { api.getShopByDistrictCode = function (data) {
return req.post('/api/mn/mobile/getShopByDistrictCode', data) return req.post('/mn/mobile/getShopByDistrictCode', data)
} }
// 门店排期 // 门店排期
api.getScheduleByCode = function (data) { api.getScheduleByCode = function (data) {
return req.post('/api/mn/mobile/getScheduleByCode', data) return req.post('/mn/mobile/getScheduleByCode', data)
} }
// 预约 // 预约
api.addAppointment = function (data) { api.addAppointment = function (data) {
return req.post('/api/mn/mobile/addAppointment', data) return req.post('/mn/mobile/addAppointment', data)
} }
export default api export default api
...@@ -10,7 +10,7 @@ api.userLogin = function (data) { ...@@ -10,7 +10,7 @@ api.userLogin = function (data) {
} }
//查询当前语言 //查询当前语言
api.getLanguageL = function (data) { api.getLanguageL = function (data) {
return req.post(`/api/web/getLanguage`, data) return req.post(`/web/getLanguage`, data)
} }
api.goLoginInfo = function (data) { api.goLoginInfo = function (data) {
......
...@@ -22,7 +22,7 @@ module.exports = { ...@@ -22,7 +22,7 @@ module.exports = {
devServer: { devServer: {
proxy: { proxy: {
"^/api": { "^/api": {
target: "http://lnh.run4wd.com", //测试 target: "http://lnh.run4wd.com/api", //测试
// target: "http://lnh.ssish.com/api/",//生产,需api // target: "http://lnh.ssish.com/api/",//生产,需api
ws: true, ws: true,
changeOrigin: 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