diff --git a/app/controller/wechat/Wechat.php b/app/controller/wechat/Wechat.php index a705757..fab3b09 100644 --- a/app/controller/wechat/Wechat.php +++ b/app/controller/wechat/Wechat.php @@ -69,7 +69,7 @@ class Wechat extends Base $FeeService = new FeeService($pucode); $feeUserInfo = $FeeService->getUsers(); - if ($feeUserInfo['MsgID'] != $pucode) { + if ($feeUserInfo['UserCode'] != $pucode) { throw new \Exception('用户不存在'); } if ($feeUserInfo['CellPhone'] != $mobile) {