代码示例:
$depth = $comment->depth;
if ($depth > 3) { return; } else { # 允许回复 // 处理回复的代码 }
上一篇:不要合并有未解决对话的PR
下一篇:不要忽略换行