From db5574582edb3bda84b5dd8e75239c60395cff30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=92=8C?= <496631085@qq.com> Date: Thu, 20 Apr 2023 01:59:42 +0000 Subject: [PATCH] =?UTF-8?q?!435=20=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E9=BB=98=E8=AE=A4=E6=89=8B=E6=9C=BA=E5=8F=B7?= =?UTF-8?q?=20*=20=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=BB=98=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 --- 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 762d2e5d..d77a67ad 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");