提交 d42e4a3a 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

fixed

上级 bd369ba4
...@@ -11,12 +11,12 @@ const service = axios.create({ ...@@ -11,12 +11,12 @@ const service = axios.create({
// request拦截器 // request拦截器
service.interceptors.request.use(config => { service.interceptors.request.use(config => {
/*if( config.headers['sysCode']==undefined) { if( config.headers['sysCode']==undefined) {
config.headers['sysCode'] = 12 config.headers['sysCode'] = 12
}*/ }
// config.headers['token'] = '1B27380B2BFE4B8DA432EB149D237AA1' config.headers['token'] = 'B19ABBCB6B7A4B6F887A1ED6BCB69FD6'
// config.headers['token'] = localStorage.getItem('storageToken') //config.headers['token'] = localStorage.getItem('storageToken')
// config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' }) config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' })
// if (config.data && config.data.setEntry) { // if (config.data && config.data.setEntry) {
// config.headers['sysCode'] = config.data.sysCode || 10 // config.headers['sysCode'] = config.data.sysCode || 10
// if(config.data.token){ // if(config.data.token){
......
...@@ -60,7 +60,7 @@ export const getPlanDetail = (planId) => { ...@@ -60,7 +60,7 @@ export const getPlanDetail = (planId) => {
export const getNodeTimeList = (planId) => { export const getNodeTimeList = (planId) => {
return fetch({ return fetch({
headers, headers,
url: getFollowUpSC(`/followup/plan/${planId}/time`), url: getFollowUpSC(`/followup/plans/${planId}/time`),
method: 'get', method: 'get',
description: '获取随访时间节点列表', description: '获取随访时间节点列表',
}) })
......
...@@ -174,7 +174,7 @@ export function uploadImg() { ...@@ -174,7 +174,7 @@ export function uploadImg() {
// 获取随访微服务服务器域名地址 // 获取随访微服务服务器域名地址
export function getFollowUpSC(url) { export function getFollowUpSC(url) {
return getConfigByEnvType('followUpSCSoSo') + url return getConfigByEnvType('followUpSC') + url
} }
// 获取常量接口域名地址 // 获取常量接口域名地址
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册