shoErrorMsg('参数错误!','消息提示');
} else if (msg == 1){
shoErrorMsg('操作失败,请尝试刷新页面重试!','消息提示');
} else if (msg == 2){
$('#ConcernBtn').val('加关注');
$('#ConcernBtn').attr('rel','addConcern');
shoSucceedMsg('成功取消关注!','消息提示');
} else if (msg == 3){
shoErrorMsg('未知错误!','消息提示');
}
}
});
}
});
});
//加好友
function addFriend(fuid, url){
if(fuid == '' ||== 0){
shoErrorMsg('缺少参数!','信息提示');
return false;
}
$.ajax({
type : 'get',
url : url,
data : {'op' : 'add', 'fuid' : fuid , 'random' : dom()},
success : function(msg){
if(msg == -1){
shoErrorMsg('参数错误!','消息提示');
} else if (msg == -2){
shoErrorMsg('添加好友失败,没有该用户的信息!','消息提示');
} else if (msg == -3){
shoErrorMsg('添加好友失败,你不能添加自己为好友!','消息提示');
} else if (msg == -4){
shoErrorMsg('添加好友未知错误,该错误已被记录!','消息提示');
} else if (m
本章未完,请点击"下一页"继续阅读! 第2页 / 共12页
