修改bug

master
ELF 5 years ago
parent 5602892a8f
commit f7c7f9acc6

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

Loading…
Cancel
Save