feat(LoginController): 修复登录功能
This commit is contained in:
parent
a9091c03ea
commit
15eba34386
@ -37,8 +37,8 @@ class LoginController extends BaseAdminController
|
|||||||
*/
|
*/
|
||||||
public function account()
|
public function account()
|
||||||
{
|
{
|
||||||
$params = $this->request->post();
|
// $params = $this->request->post();
|
||||||
// $params = (new LoginValidate())->post()->goCheck();
|
$params = (new LoginValidate())->post()->goCheck();
|
||||||
return $this->data((new LoginLogic())->login($params));
|
return $this->data((new LoginLogic())->login($params));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user