mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
增加用户登录
This commit is contained in:
parent
48942b23d1
commit
e6d55c8126
@ -19,6 +19,7 @@ class Login extends Controller {
|
||||
*/
|
||||
public function index() {
|
||||
if ($this->request->isGet()) {
|
||||
$this->assign('ptitle', '用户登录');
|
||||
return $this->fetch();
|
||||
} else {
|
||||
$username = $this->request->post('username', '', 'trim');
|
||||
|
Loading…
x
Reference in New Issue
Block a user