|
@@ -56,7 +56,7 @@ class BeanRepository
|
|
|
foreach ($excellent_residents as $k=>$v){
|
|
|
if(!isset($author_data[$v['content_author_id']])) continue;
|
|
|
$excellent_residents[$k]['follow_status'] = $author_data[$v['content_author_id']]['follow_status'];
|
|
|
- $excellent_residents[$k]['username'] = subtext($author_data[$v['content_author_id']]['username'], 5);
|
|
|
+ $excellent_residents[$k]['username'] = $author_data[$v['content_author_id']]['username'];
|
|
|
$excellent_residents[$k]['avatar'] = $author_data[$v['content_author_id']]['avatar'];
|
|
|
}
|
|
|
}
|
|
@@ -84,9 +84,7 @@ class BeanRepository
|
|
|
foreach ($new_arr as $k => $v) {
|
|
|
if (!isset($user_data[$v['uid']])) continue;
|
|
|
$new_arr[$k]['follow_status'] = $user_data[$v['uid']]['follow_status'];
|
|
|
- $username = subtext($user_data[$v['uid']]['username'], 10);
|
|
|
-
|
|
|
- $new_arr[$k]['username'] = $username;
|
|
|
+ $new_arr[$k]['username'] = $user_data[$v['uid']]['username'];
|
|
|
$new_arr[$k]['avatar'] = $user_data[$v['uid']]['avatar'];
|
|
|
}
|
|
|
}
|
|
@@ -109,9 +107,7 @@ class BeanRepository
|
|
|
if(!isset($user_data[$v['superior_uid']])) continue;
|
|
|
$registered_most[$k]['count'] = intval($v['count']);
|
|
|
$registered_most[$k]['follow_status'] = $user_data[$v['superior_uid']]['follow_status'];
|
|
|
- $username = subtext($user_data[$v['superior_uid']]['username'], 10);
|
|
|
-
|
|
|
- $registered_most[$k]['username'] = $username;
|
|
|
+ $registered_most[$k]['username'] = $user_data[$v['superior_uid']]['username'];
|
|
|
$registered_most[$k]['avatar'] = $user_data[$v['superior_uid']]['avatar'];
|
|
|
}
|
|
|
}
|
|
@@ -134,9 +130,7 @@ class BeanRepository
|
|
|
if(!isset($user_data[$v['content_author_id']])) continue;
|
|
|
$all_best_author[$k]['count'] = intval($v['count']);
|
|
|
$all_best_author[$k]['follow_status'] = $user_data[$v['content_author_id']]['follow_status'];
|
|
|
- $username = subtext($user_data[$v['content_author_id']]['username'], 10);
|
|
|
-
|
|
|
- $all_best_author[$k]['username'] = $username;
|
|
|
+ $all_best_author[$k]['username'] = $user_data[$v['content_author_id']]['username'];
|
|
|
$all_best_author[$k]['avatar'] = $user_data[$v['content_author_id']]['avatar'];
|
|
|
}
|
|
|
}
|