From f82007d59c70ecdaf7ee4a105235cab45b326a74 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Sat, 10 Sep 2022 11:25:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20host=20drop=20=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Host.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Host.php b/app/Models/Host.php index 281e15f..629405c 100644 --- a/app/Models/Host.php +++ b/app/Models/Host.php @@ -111,7 +111,7 @@ public function cost($price = null) $month = now()->month; - $month_cache_key = 'user_' . $this->user_id . '_month_' . $month . 'hosts_drops'; + $month_cache_key = 'user_' . $this->user_id . '_month_' . $month . '_hosts_drops'; $hosts_drops = Cache::get($month_cache_key, []); // 统计 Host 消耗的 Drops