Authored by 毕凯

Merge branch 'feature/shareBuy' into 'release/5.7'

登录



See merge request !564
... ... @@ -2,6 +2,7 @@
require('common/_app-auth.css');
let yohoApp = require('../yoho-app'),
$ = require('yoho-jquery'),
qs = require('yoho-qs'),
cookie = require('yoho-cookie');
let $refer = $('#refer');
... ... @@ -17,8 +18,9 @@
let oldSessionKey = localStorage.getItem('oldSessionKey') || '';
let oldSessionKeyErr = parseInt(localStorage.getItem('oldSessionKeyErr') || -1, 10);
let sessionKey = cookie.get('app_session_key');
let uid = parseInt(cookie.get('app_uid') || qs.uid, 10);
if (!sessionKey) {
if (!sessionKey && uid) {
return;
}
if (oldSessionKey === sessionKey) {
... ...