Files
fdesk/app/common/utils/scaffold/templates/ValidateStub.stub
T

29 lines
373 B
Plaintext
Raw Normal View History

2025-07-21 16:43:43 +08:00
<?php
2025-07-21 19:11:29 +08:00
namespace app\{{validateModule}}\validate;
2025-07-21 16:43:43 +08:00
use think\Validate;
2025-07-21 19:39:49 +08:00
class {{validateName}}Validate extends Validate
2025-07-21 16:43:43 +08:00
{
// 规则
protected $rule = [
];
// 提示
protected $message = [
];
// 场景
protected $scene = [
'store' => [
],
'update' => [
]
];
}