📅  最后修改于: 2022-03-11 14:53:59.793000             🧑  作者: Mango
do {
$token_id = makeRandomToken();
$token_key = makeRandomTokenKey();
} while (User::where("token_id", "=", $token_id)->where("token_key", "=", $token_key)->first() instanceof User);