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

* 修改密码类型默认手机号
pull/441/MERGE
小和 2023-04-20 01:59:42 +00:00 committed by Karson
parent 2c09a10786
commit c69ba1aea3
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ class User extends Api
*/ */
public function resetpwd() public function resetpwd()
{ {
$type = $this->request->post("type"); $type = $this->request->post("type", "mobile");
$mobile = $this->request->post("mobile"); $mobile = $this->request->post("mobile");
$email = $this->request->post("email"); $email = $this->request->post("email");
$newpassword = $this->request->post("newpassword"); $newpassword = $this->request->post("newpassword");