修复 显示错误
This commit is contained in:
parent
b2e7e29889
commit
027c6b44d7
@ -189,8 +189,8 @@ public function drops()
|
|||||||
$cache_key = 'user_' . $user_id . '_month_' . $month . '_drops';
|
$cache_key = 'user_' . $user_id . '_month_' . $month . '_drops';
|
||||||
|
|
||||||
$resp = [
|
$resp = [
|
||||||
'drops' => (float) Cache::get($cache_key),
|
'drops' => getDrops($user_id),
|
||||||
'monthly_usages' => getDrops($user_id),
|
'monthly_usages' => (float) Cache::get($cache_key, 0),
|
||||||
'rate' => config('drops.rate'),
|
'rate' => config('drops.rate'),
|
||||||
'decimal' => config('drops.decimal'),
|
'decimal' => config('drops.decimal'),
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user