Files

29 lines
349 B
PHP
Raw Permalink Normal View History

2026-01-05 14:33:21 +08:00
<?php
namespace app\common\validate;
use think\Validate;
class UserValidate extends Validate
{
2026-01-05 15:49:25 +08:00
// 规则
2026-01-05 14:33:21 +08:00
protected $rule = [
2026-01-05 15:49:25 +08:00
2026-01-05 14:33:21 +08:00
];
2026-01-05 15:49:25 +08:00
// 提示
2026-01-05 14:33:21 +08:00
protected $message = [
2026-01-05 15:49:25 +08:00
2026-01-05 14:33:21 +08:00
];
2026-01-05 15:49:25 +08:00
// 场景
2026-01-05 14:33:21 +08:00
protected $scene = [
2026-01-05 15:49:25 +08:00
'store' => [
],
2026-01-05 14:33:21 +08:00
2026-01-05 15:49:25 +08:00
'update' => [
]
];
2026-01-05 14:33:21 +08:00
}