From 94a6f0708f156d3bef34569462df62c273ef6dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=80=E6=89=8D?= Date: Wed, 6 Mar 2024 15:53:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E8=81=94openid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wap/controller/Login.php | 6 +++--- extend/basic/WapBasic.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/wap/controller/Login.php b/application/wap/controller/Login.php index eb2a5ef7..eb20f789 100755 --- a/application/wap/controller/Login.php +++ b/application/wap/controller/Login.php @@ -178,9 +178,9 @@ class Login extends WapBasic /**账号密码登录 * @param Request $request - * @throws \think\db\exception\DataNotFoundException - * @throws \think\db\exception\ModelNotFoundException - * @throws \think\exception\DbException + * @throws DataNotFoundException + * @throws ModelNotFoundException + * @throws DbException */ public function check(Request $request) { diff --git a/extend/basic/WapBasic.php b/extend/basic/WapBasic.php index d93a9b22..b45347a7 100755 --- a/extend/basic/WapBasic.php +++ b/extend/basic/WapBasic.php @@ -223,12 +223,12 @@ class WapBasic extends Controller /** * 绑定微信 * @param Request $request - * @param User $account + * @param $account * @throws DataNotFoundException * @throws DbException * @throws ModelNotFoundException */ - public function bindWeixin(Request $request, User $account): void + public function bindWeixin(Request $request, $account): void { [$ucode, $spid, $spread, $iv, $encryptedData, $type, $username, $currentAvatar] = UtilService::postMore([ ['ucode', ''],