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