|
@@ -307,6 +307,7 @@ class UserCenter extends Common
|
|
|
if($followlist) {
|
|
|
foreach($followlist as $k => $v) {
|
|
|
$followlist[$k]['createtime_text'] = get_last_time($v['createtime']);
|
|
|
+ $followlist[$k]["is_follow"] = 1;
|
|
|
if(in_array($v["user_id"],$ids)) {
|
|
|
$followlist[$k]["is_hu"] = 1;
|
|
|
} else {
|
|
@@ -327,6 +328,7 @@ class UserCenter extends Common
|
|
|
$fanslist[$k]['createtime_text'] = get_last_time($v['createtime']);
|
|
|
if(in_array($v["fans_id"],$ids)) {
|
|
|
$fanslist[$k]["is_hu"] = 1;
|
|
|
+ $fanslist[$k]["is_follow"] = 1;
|
|
|
} else {
|
|
|
$fanslist[$k]["is_hu"] = 0;
|
|
|
}
|
|
@@ -343,6 +345,7 @@ class UserCenter extends Common
|
|
|
if($fanslist) {
|
|
|
foreach($fanslist as $k => $v) {
|
|
|
$fanslist[$k]['createtime_text'] = get_last_time($v['createtime']);
|
|
|
+ $fanslist[$k]["is_follow"] = 1;
|
|
|
if(in_array($v["fans_id"],$ids)) {
|
|
|
$fanslist[$k]["is_hu"] = 1;
|
|
|
} else {
|