From 56c540428898128a901d3046369c5a2a68b1e58e Mon Sep 17 00:00:00 2001 From: wanyongkang <937888580@qq.com> Date: Sat, 28 Nov 2020 16:21:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E8=B4=B9=E7=BB=9F=E8=AE=A1=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/manager/controller/UserFollow.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/manager/controller/UserFollow.php b/app/manager/controller/UserFollow.php index 9370bf8..328ecde 100644 --- a/app/manager/controller/UserFollow.php +++ b/app/manager/controller/UserFollow.php @@ -5,7 +5,7 @@ * @Author: kangkang * @Date: 2020-10-13 19:52:37 * @LastEditors: Please set LastEditors - * @LastEditTime: 2020-11-26 16:56:26 + * @LastEditTime: 2020-11-28 16:20:54 */ namespace app\manager\controller; @@ -209,7 +209,9 @@ class UserFollow extends Controller } foreach ($account_expire as $info) { $list[$info['UserId']]['account_expire'] = $info['used_count']; - $list[$info['UserId']]['account_count'] = $info['used_count'] + $list[$info['UserId']]['account_used']; + } + foreach ($user_id_list as $user_account_id){ + $list[$user_account_id]['account_count'] = $list[$user_account_id]['account_used'] + $list[$user_account_id]['account_expire']; } if (!empty($search['sortLable'])) {