From 2ac785dea901437c3937d07072da523e8468742b Mon Sep 17 00:00:00 2001 From: liufumingren Date: Sat, 26 Sep 2026 02:13:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Redis=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E5=AF=86=E7=A0=81:=20=E6=9C=AC=E6=9C=BA=E8=BF=9E=E6=8E=A5=20au?= =?UTF-8?q?th('qwe2019')=20=E6=94=B9=E4=B8=BA=20'qwe2019@'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Wms.php | 2 +- application/common/model/Express.php | 2 +- application/index/controller/Express.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/api/controller/Wms.php b/application/api/controller/Wms.php index de13234..7e4dda1 100644 --- a/application/api/controller/Wms.php +++ b/application/api/controller/Wms.php @@ -737,7 +737,7 @@ class Wms extends Api $POSTCODE = $this->request->get('POSTCODE'); $redis = new \Redis(); $redis->connect('127.0.0.1', 6379); - $redis->auth('qwe2019'); + $redis->auth('qwe2019@'); $redis->select(2); $redis->lpush('subscribe_tasks',json_encode(['taskID'=>$taskID,'POSTCODE'=>$POSTCODE])); */ diff --git a/application/common/model/Express.php b/application/common/model/Express.php index 6799aaf..072d25a 100644 --- a/application/common/model/Express.php +++ b/application/common/model/Express.php @@ -70,7 +70,7 @@ class Express extends Model $random = Random::alnum(10); $redis = new \Redis(); $redis->connect('127.0.0.1', 6379); - $redis->auth('qwe2019'); + $redis->auth('qwe2019@'); $redis->select(2); $taskID = $random.'_'.$POSTCODE.'_'.time(); $redis->lpush('subscribe_tasks',json_encode(['taskID'=>$taskID,'POSTCODE'=>$POSTCODE])); diff --git a/application/index/controller/Express.php b/application/index/controller/Express.php index e5c5930..06e3697 100644 --- a/application/index/controller/Express.php +++ b/application/index/controller/Express.php @@ -20,7 +20,7 @@ class Express extends Frontend $redis = new \Redis(); $redis->connect('127.0.0.1', 6379); - $redis->auth('qwe2019'); + $redis->auth('qwe2019@'); $redis->select(2); $dd = $redis->lpush("order",$params['content']); $redis->close();