From 1ee430b8e7a6242819de19b87680244b3a892eff Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Wed, 16 Sep 2020 12:20:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=86=E9=92=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/v3/Implementations/StoreLoginService.php | 2 +- config/config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Service/v3/Implementations/StoreLoginService.php b/app/Service/v3/Implementations/StoreLoginService.php index 7cb4954..abbed09 100644 --- a/app/Service/v3/Implementations/StoreLoginService.php +++ b/app/Service/v3/Implementations/StoreLoginService.php @@ -32,7 +32,7 @@ class StoreLoginService implements StoreLoginServiceInterface function stringHash($password,$salt) { - $authkey = config('lgoin.authkey'); + $authkey = config('login.authkey'); $password = "{$password}-{$salt}-{$authkey}"; return sha1($password); } diff --git a/config/config.php b/config/config.php index 8654778..4b89b60 100644 --- a/config/config.php +++ b/config/config.php @@ -52,7 +52,7 @@ return [ 'alioss' => [ 'img_host' => env('OSS_IMG_HOST', ''), ], - 'lgoin' => [ + 'login' => [ 'authkey' => env('STORE_LOGIN_AUTHKEY', ''), ], 'map' => [