Prechádzať zdrojové kódy

后台修改密码bug修复

xiaogang 3 rokov pred
rodič
commit
fd17f0a1c0

+ 2 - 0
app/Http/Controllers/Api/AuthorizationsController.php

xqd
@@ -338,6 +338,8 @@ class AuthorizationsController extends Controller
             if(!$user->save()){
                 throw new Exception("设置失败");
             }
+
+            return true;
             $res = $this->do_login($request->mobile,$request->password);
         }catch (\Exception $exception){
             return $this->response->errorForbidden($exception->getMessage());