Authored by 陈峰

Merge branch 'hotfix/logout' into 'master'

登出去掉域名地址 改为相对路径



See merge request !172
... ... @@ -193,17 +193,17 @@ $.extend({
// 未登录
$op.prepend(
'<a href="http://m.yohobuy.com/signin.html?refer=' + location.href + '">登录</a>' +
'<a href="/signin.html?refer=' + location.href + '">登录</a>' +
'<span class="sep-line">|</span>' +
'<a href="http://m.yohobuy.com/reg.html">注册</a>'
'<a href="/reg.html">注册</a>'
);
} else {
// 已登录
$op.prepend(
'<span>Hi,</span>' +
'<a class="user-name" href="http://m.yohobuy.com/home?tmp=' + Math.random() + '">' + user[0] + '</a>' +
'<a href="http://m.yohobuy.com/passport/signout/index">退出</a>'
'<a class="user-name" href="/home?tmp=' + Math.random() + '">' + user[0] + '</a>' +
'<a href="/passport/signout/index">退出</a>'
);
}
... ...