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);