From 8fcb03ad208b4c33174940f73eb84e267eabc15b Mon Sep 17 00:00:00 2001 From: wispx <1591788658@qq.com> Date: Wed, 5 Dec 2018 10:31:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/config/naming.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/index/config/naming.php b/application/index/config/naming.php index 1b1539fb..1147f7ca 100644 --- a/application/index/config/naming.php +++ b/application/index/config/naming.php @@ -11,7 +11,7 @@ use think\facade\Session; $time = time(); -$md5 = md5('LSKY PRO'. time()); +$md5 = md5('LSKY PRO' . uniqid() . time()); $uid = Session::has('uid') ? Session::get('uid') : 0; return [ @@ -175,4 +175,4 @@ return [ 'value' => str_rand(), ], ], -]; \ No newline at end of file +];