feat: forgot password
config: msg
This commit is contained in:
@@ -198,10 +198,14 @@ class AdminService implements AdminServiceInterface
|
||||
|
||||
public function resetAllCards(): void
|
||||
{
|
||||
$activeUserCount = User::where('status', config('constants.STATUS_ACTIVE'))->count();
|
||||
|
||||
User::where('status', config('constants.STATUS_ACTIVE'))->update([
|
||||
'card' => 0,
|
||||
'flag_send' => config('constants.FLAG_SEND_DISABLED'),
|
||||
]);
|
||||
|
||||
\Illuminate\Support\Facades\Log::info("Thực hiện reset thẻ hàng tháng thành công cho {$activeUserCount} tài khoản active.");
|
||||
}
|
||||
|
||||
public function updateAddCard(int $id, array $data): void
|
||||
|
||||
Reference in New Issue
Block a user