Authored by 王水玲

上下文

... ... @@ -32,16 +32,6 @@ module.exports = () => {
}
}
// 调用接口传参时切勿使用toString获得字符串
req.user.uid = {
toString: () => {
return _.parseInt(req.cookies.app_uid) || '51477204';
},
sessionKey: req.cookies.app_session_key || 'bbdacfc9b5b3db47e7d879871cec4d0e',
appVersion: req.cookies.app_version || req.query.app_version || config.appVersion,
appSessionType: req.cookies.app_client_type
};
delete req.query.app_version;
delete req.query.client_secret;
delete req.query.client_type;
... ...