Authored by unknown

ajax登录js修改

... ... @@ -220,8 +220,8 @@ $.ajax({
if (data.code === 200){
data = data.data;
userName = data.profile_name;
uid = data.message.uid;
token = data.message.token;
uid = data.uid;
token = data.token;
loginHtml = '<span>Hi,</span><a class="user-name" href="http://m.yohobuy.com/home?tmp=' + Math.random()+'">' + userName + '</a>' +
'<a href="http://m.yohobuy.com/passport/signout/index?token=4f4fcaa66f34fe2e3156e6d85f8ea897">退出</a>' +
'<span class="back-to-top">Back to top<i class="iconfont">&#xe608;</i></span>';
... ...