0
0

WasteScale.php 403 B

12345678910111213141516171819202122
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class WasteScale extends Validate{
  5. protected $rule = [
  6. 'scale_sn|电子称编号' => 'require',
  7. 'user_id|绑定人员' => 'require',
  8. 'printer_sn|打印机编号' => 'require',
  9. ];
  10. protected $message = [
  11. 'user_id.require' => '请选择绑定人员',
  12. ];
  13. protected $scene = [
  14. ];
  15. }