...
|
...
|
@@ -63,12 +63,12 @@ function formatUsernName(userName) { |
|
|
* @return {[type]} [description]
|
|
|
*/
|
|
|
function setLoginStatus(data) {
|
|
|
var info = data.data,
|
|
|
var info = data,
|
|
|
loginHtml,
|
|
|
name;
|
|
|
|
|
|
if (data.result !== -1) {
|
|
|
name = formatUsernName(info.profile_name);
|
|
|
name = formatUsernName(info.profileName);
|
|
|
loginHtml = '<span>Hi~</span>' +
|
|
|
'<a href="//www.yohobuy.com/home?t=' + info.random + '">' + name + '</a> ' +
|
|
|
'<a href="//www.yohobuy.com/logout.html">[退出]</a>';
|
...
|
...
|
|