Browse Source

!435 修改密码类型默认手机号
* 修改密码类型默认手机号

小和 2 years ago
parent
commit
db5574582e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/User.php

+ 1 - 1
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");