Browse Source

限制客服名称长度

master
wanghongjun 2 years ago
parent
commit
9fa0267791
  1. 2
      app/validate/CustomerService.php

2
app/validate/CustomerService.php

@ -14,7 +14,7 @@ class CustomerService extends Validate
* @var array
*/
protected $rule = [
'name|客服名称' => 'require',
'name|客服名称' => 'require|max:6',
'wx_number|微信号码' => 'require|min:6|max:20|alphaDash',
'id|客服id' => 'require|number',
];

Loading…
Cancel
Save