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', ''],