From 0a310fdfcf3183c08ba01757b0cee8a04f87a8d8 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Wed, 22 Dec 2021 10:40:38 +0800 Subject: [PATCH] settter --- app/controller/api/Comment.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controller/api/Comment.php b/app/controller/api/Comment.php index f173d0a..94cab7d 100644 --- a/app/controller/api/Comment.php +++ b/app/controller/api/Comment.php @@ -80,6 +80,7 @@ class Comment extends Base } + //检测评论规则 validate(VComment::class)->check($param);