...
|
...
|
@@ -69,6 +69,7 @@ module.exports = () => { |
|
|
let appUid = req.query.uid || req.cookies.app_uid;
|
|
|
let appVersion = req.cookies.app_version || req.query.app_version || config.appVersion;
|
|
|
let appSessionType = req.query.client_type || req.cookies.app_client_type;
|
|
|
let sessionKey = req.query.session_key || req.cookies.app_session_key;
|
|
|
|
|
|
if (req.query.app_version && req.query.client_type) {
|
|
|
logger.warn(`app session from querystring, url:${req.originalUrl}`);
|
...
|
...
|
@@ -79,6 +80,7 @@ module.exports = () => { |
|
|
return _.parseInt(appUid);
|
|
|
},
|
|
|
appVersion: appVersion,
|
|
|
sessionKey: sessionKey,
|
|
|
appSessionType: appSessionType
|
|
|
};
|
|
|
|
...
|
...
|
|