Commit 2ebfc6fb authored by gengchunlei's avatar gengchunlei

小程序 楚晓康小程序对接

parent acebac09
......@@ -135,5 +135,5 @@ export const getUserInfoByIdCard = params => {
//小程序根据token获取手机号
export const getPhoneByXCXToken = params => {
return apiInstance.post(`/stock-info/api/yzdj-api-app/base-member-phone`, params)
return apiInstance.post(`/stock-info/api/yzdj-api-app/base-member-phone?token=${params.token}`, params)
}
......@@ -29,6 +29,18 @@ module.exports = {
warning: false,
errors: false
},
// 设置代理
proxy: {
'/service-api': {
target: 'https://beta-yjservice.yiboshi.com',
// target: 'https://beta-tumour.zmnyjk.com',
changOrigin: true,
pathRewrite: {
'^/service-api': '',
// '^/chronic-resident': '/chronic-resident'
}
}
},
https:true,
},
chainWebpack:(config)=> {
......
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