From 5aefcfb355eb11a89feb297ccb3f4bf5207ad114 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Fri, 24 May 2019 17:25:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=8E=88=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/plugins/weixinwebauthorization/service/Service.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/plugins/weixinwebauthorization/service/Service.php b/application/plugins/weixinwebauthorization/service/Service.php index caf10473a..6cdbb8110 100755 --- a/application/plugins/weixinwebauthorization/service/Service.php +++ b/application/plugins/weixinwebauthorization/service/Service.php @@ -55,7 +55,7 @@ class Service } // 用户名 - $username = empty($params['nickname']) ? '微信'.RandomString(6) : $params['username'].RandomString(6); + $username = empty($params['nickname']) ? '微信'.RandomString(6) : $params['nickname'].RandomString(6); if(mb_strlen($username, 'utf-8') > 18) { $username = mb_substr($username, 0, 18);