DiverseYouthNightSchool/application/admin/manystore_command/Crud/stubs/validate.stub

28 lines
360 B
Plaintext
Raw Permalink Normal View History

2024-11-04 15:00:20 +08:00
<?php
namespace {%validateNamespace%};
use think\Validate;
class {%validateName%} extends Validate
{
/**
* 验证规则
*/
protected $rule = [
];
/**
* 提示消息
*/
protected $message = [
];
/**
* 验证场景
*/
protected $scene = [
'add' => [],
'edit' => [],
];
}