From 2258c9ff9f963f730fc06d32819109fd726d16e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 19 Mar 2021 16:32:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=AE=A2=E6=88=B7=E7=BB=8F?= =?UTF-8?q?=E7=90=86=E6=88=AA=E5=8F=96=E5=AD=97=E7=AC=A6=E4=B8=B2=E4=B9=B1?= =?UTF-8?q?=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/manager/controller/UserFollow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/manager/controller/UserFollow.php b/app/manager/controller/UserFollow.php index 7926882..56dfa33 100644 --- a/app/manager/controller/UserFollow.php +++ b/app/manager/controller/UserFollow.php @@ -166,7 +166,7 @@ class UserFollow extends Controller foreach ($user_list as $info) { $info['last_pay_time'] = $info['pay_time']; $info['follow_status'] = $user_enum::$FollowStatus[$info['follow_status']]; - $info['UserName'] = substr($info['LoginCode'], 0, 3) . '***' . substr($info['LoginCode'], -3); + $info['UserName'] = mb_substr($info['LoginCode'], 0, 3) . '***' . mb_substr($info['LoginCode'], -3); $info['all_amount'] = 0; $info['PrevMonthAmount'] = 0; $info['MonthAmount'] = 0;