Commit 2a6741cb authored by 章建武's avatar 章建武

dep

parent 8e9053bd
...@@ -8,13 +8,13 @@ namespace app\common\validate; ...@@ -8,13 +8,13 @@ namespace app\common\validate;
class IndexBannerValidate extends Validate class IndexBannerValidate extends Validate
{ {
protected $rule = [ protected $rule = [
'content|内容' => 'require', // 'content|内容' => 'require',
'img_title|图片标题' => 'require', 'img_title|图片标题' => 'require',
]; ];
protected $message = [ protected $message = [
'content.require' => '文章不能为空', // 'content.require' => '文章不能为空',
'img_title.require' => '图片标题不能为空', 'img_title.require' => '图片标题不能为空',
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment