Authored by 张孝茹

取APP版本号优先取cookie

... ... @@ -50,7 +50,7 @@ module.exports = () => {
return _.parseInt(req.cookies.app_uid);
},
sessionKey: req.cookies.app_session_key,
appVersion: req.query.app_version || req.cookies.app_version || config.appVersion,
appVersion: req.cookies.app_version || req.query.app_version || config.appVersion,
appSessionType: req.cookies.app_client_type
};
}
... ... @@ -67,7 +67,7 @@ module.exports = () => {
)
) {
let appUid = req.query.uid || req.cookies.app_uid;
let appVersion = req.query.app_version || req.cookies.app_version || config.appVersion;
let appVersion = req.cookies.app_version || req.query.app_version || config.appVersion;
let appSessionType = req.query.client_type || req.cookies.app_client_type;
if (req.query.app_version && req.query.client_type) {
... ...