如何在 48 小时后注销用户。
public function generatePass(Request $request)
{
$myRandomString = Str::random(8);
DB::table('web_passes')->insert([
'pass' => $myRandomString,
'user_id' => $request->user_id,
'expiry_time' => Carbon::now()->addDays(2)
]);