12345678910111213141516171819202122 |
- <?php
- namespace app\common\validate;
- use think\Validate;
- class WasteScale extends Validate{
- protected $rule = [
- 'scale_sn|电子称编号' => 'require',
- 'user_id|绑定人员' => 'require',
- 'printer_sn|打印机编号' => 'require',
- ];
- protected $message = [
- 'user_id.require' => '请选择绑定人员',
- ];
- protected $scene = [
- ];
- }
|