From 5d2c73fc90e4b9df8743f684095d359564aff6c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Mon, 31 Oct 2022 09:58:51 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E4=BC=98=E5=8C=96=E7=BC=93=E5=AD=98=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/adminapi/controller/v1/setting/SystemCity.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crmeb/app/adminapi/controller/v1/setting/SystemCity.php b/crmeb/app/adminapi/controller/v1/setting/SystemCity.php index 320d3b467..a605e2712 100644 --- a/crmeb/app/adminapi/controller/v1/setting/SystemCity.php +++ b/crmeb/app/adminapi/controller/v1/setting/SystemCity.php @@ -27,7 +27,7 @@ class SystemCity extends AuthController * 构造方法 * SystemCity constructor. * @param App $app - * @param SystemStoreServices $services + * @param SystemCityServices $services */ public function __construct(App $app, SystemCityServices $services) { @@ -133,8 +133,7 @@ class SystemCity extends AuthController */ public function clean_cache() { - $res = CacheService::delete('tree_city_list'); - $res = $res && CacheService::delete('CITY_LIST'); + $res = CacheService::delete('CITY_LIST'); if ($res) { return app('json')->success(400185); } else {