Parcourir la source

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

小和 il y a 2 ans
Parent
commit
db5574582e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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");