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