From 8075ac22f899bd32e4db2194cd6e40667b6048c4 Mon Sep 17 00:00:00 2001 From: zhengchanglong Date: Wed, 18 Dec 2019 18:23:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E7=94=9F=E6=97=A5=E5=AD=97=E6=AE=B5=E9=BB=98=E8=AE=A4=E5=BD=93?= =?UTF-8?q?=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/UserController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/UserController.class.php b/Application/Admin/Controller/UserController.class.php index 8c95a0240..0e144f3c1 100644 --- a/Application/Admin/Controller/UserController.class.php +++ b/Application/Admin/Controller/UserController.class.php @@ -276,7 +276,7 @@ class UserController extends AdminController $User = new UserApi; $uid = $User->register($username, $password, $email, $second_pwd); if (0 < $uid) { //注册成功 - $user = array('uid' => $uid, 'nickname' => $username, 'status' => 1); + $user = array('uid' => $uid, 'nickname' => $username, 'status' => 1,"birthday"=>date('Y-m-d',time())); $data['uid'] = $uid; $data['group_id'] = I('auth'); M('auth_group_access')->data($data)->add();