From f7c7f9acc6883ce44eb4f80764ea28dfa0e13495 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Sun, 17 Nov 2019 17:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/SafeController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/SafeController.class.php b/Application/Home/Controller/SafeController.class.php index 1fa30b410..eba3dda20 100644 --- a/Application/Home/Controller/SafeController.class.php +++ b/Application/Home/Controller/SafeController.class.php @@ -322,7 +322,7 @@ class SafeController extends BaseController{ $time = time(); $endTime = date('Y-m-d',strtotime('+1 year')); $loginPromote = $this->getLoginPromote(); - $sn = date('Ymd' . $loginPromote['create_time']) . '-' . strtoupper(substr(md5($loginPromote['id']), 8, 16)); + $sn = date('Ymd', $loginPromote['create_time']) . '-' . strtoupper(substr(md5($loginPromote['id']), 8, 16)); $this->assign('time',date('Y-m-d',$time)); $this->assign('endTime',$endTime); $this->assign('sn',$sn);