请,任何人,向我解释这个条件,我没有得到它。代码正常工作,但我忘记了我用来返回值的逻辑。
$chkBlock = Blocked::where("block_username", "=", Auth::user()->username)
->where("user_username", "=", $username)
->count();
if ($chkBlock > 0) {
return \Redirect::back()->withSuccess( 'This User Block you' );
}
翻阅古今
蓝山帝景