1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| <?php
|
| namespace app\admin\validate;
|
| use think\Validate;
|
| class PaymentTool extends Validate {
|
| protected $rule = [
| 'payment_tool_name' => 'require',
| ];
| protected $message = [
| 'payment_tool_name.require' => '请填写名称',
| ];
|
|
| }
|
|