Authored by QC-L

修复请求相关错误 review by 黄敬囿

... ... @@ -47,6 +47,6 @@ export default {
path: '/pages/userCenter/addressManager/addressManager'
},
yoLuck: {
path: 'pages/zeroSell/index'
path: '/pages/zeroSell/index'
}
}
... ...
... ... @@ -139,11 +139,13 @@ const api = {
params.data.session_key = sessionKey;
if (!params.data.uid) {
params.data.uid = userInfo.uid;
params.data.uid = userInfo && userInfo.uid ? userInfo.uid : 0;
}
params.header.Cookies = `JSESSIONID=${sessionKey}`;
params.header.Cookie = `JSESSIONID=${sessionKey}`;
if (sessionKey) {
params.header.Cookies = `JSESSIONID=${sessionKey}`;
params.header.Cookie = `JSESSIONID=${sessionKey}`;
}
}
return params;
},
... ...