Authored by 郭成尧

uid-get-from-cookid

... ... @@ -457,8 +457,7 @@ let setPassword = (req, res, next) => {
message: '注册成功',
data: {
session: refer,
href: refer,
uid: _.get(resultCopy, 'data.uid', '')
href: refer
}
});
}).catch(next);
... ...
... ... @@ -85,10 +85,10 @@ function setPassword() {
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: 'YB_REGISTER_SUCCESS_L',
ud: window.getUid(),
param: JSON.stringify({
C_ID: window._ChannelVary[window.cookie('_Channel')] || 1,
UNION_TYPE: window.queryString.union_type || window.cookie('unionTypeYas') || false,
UID: res.uid
UNION_TYPE: window.queryString.union_type || window.cookie('unionTypeYas') || false
})
}, true);
}
... ...