/**
  * 处理登录操作
  *
  * @return Response
  * @auther yangyifan <*****@*****.**>
  */
 public function postLogin(LoginFormRequest $request)
 {
     $login_status = AdminInfoModel::login($request->all());
     switch ($login_status) {
         case 1:
             return $this->response(200, trans('response.success'), [], true, url('admin/home'));
         case -1:
         case -3:
             return $this->response(401, trans('response.admin_not_exists'));
         case -2:
             return $this->response(401, trans('response.admin_disable'));
     }
     //登陆失败
     return $this->response(401, trans('response.unauthorized'));
 }