From 55641095fc4ab9fd3fe862ce05c77df52fca2237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=92=8C?= <496631085@qq.com> Date: Wed, 15 Mar 2023 03:41:36 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=BB=98=E8=AE=A4=E6=89=8B=E6=9C=BA=E5=8F=B7=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E7=B1=BB=E5=9E=8B=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=89=8B=E6=9C=BA=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 小和 <496631085@qq.com> --- application/api/controller/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/controller/User.php b/application/api/controller/User.php index 762d2e5d8..d77a67ade 100644 --- a/application/api/controller/User.php +++ b/application/api/controller/User.php @@ -297,7 +297,7 @@ class User extends Api */ public function resetpwd() { - $type = $this->request->post("type"); + $type = $this->request->post("type", "mobile"); $mobile = $this->request->post("mobile"); $email = $this->request->post("email"); $newpassword = $this->request->post("newpassword"); -- Gitee