修复 显示错误

This commit is contained in:
iVampireSP.com 2022-09-10 13:42:55 +08:00
parent b2e7e29889
commit 027c6b44d7
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -189,8 +189,8 @@ public function drops()
$cache_key = 'user_' . $user_id . '_month_' . $month . '_drops';
$resp = [
'drops' => (float) Cache::get($cache_key),
'monthly_usages' => getDrops($user_id),
'drops' => getDrops($user_id),
'monthly_usages' => (float) Cache::get($cache_key, 0),
'rate' => config('drops.rate'),
'decimal' => config('drops.decimal'),
];