改进
This commit is contained in:
parent
8887e13331
commit
081fa67e88
@ -68,7 +68,7 @@ public function usages()
|
|||||||
{
|
{
|
||||||
$month = now()->month;
|
$month = now()->month;
|
||||||
|
|
||||||
$month_cache_key = 'user_' . auth()->id() . '_month_' . $month . 'hosts_drops';
|
$month_cache_key = 'user_' . auth()->id() . '_month_' . $month . '_hosts_drops';
|
||||||
$hosts_drops = Cache::get($month_cache_key, []);
|
$hosts_drops = Cache::get($month_cache_key, []);
|
||||||
|
|
||||||
return $this->success($hosts_drops);
|
return $this->success($hosts_drops);
|
||||||
|
Loading…
Reference in New Issue
Block a user