账号登录

This commit is contained in:
2025-05-06 16:52:37 +08:00
parent d08b433036
commit 425bcf2070

View File

@ -235,10 +235,10 @@ class AccountController extends BaseApiController
{ {
$post = $this->request->post(); $post = $this->request->post();
if (empty($post['code'])) { if (empty($post['code'])) {
$this->fail('参数缺失'); return $this->fail('参数缺失');
} }
$data = LoginLogic::silentLogin($post); $data = LoginLogic::silentLogin($post);
$this->success("登录成功",$data); return $this->success("登录成功",$data);
} }