@@ -46,7 +46,7 @@ class Account extends BaseController
{
$param = $this->request->only(['id', 'company_id', 'card_id', 'username', 'starttime', 'expiretime', 'video_ids', 'mobile' => '', 'name' => '', 'remark' => ''], 'post');
- $val = Validate::rule(array_merge(Config::get('validate_rules.AccountAdd'), ['id' => ['require|number|gt:0']]));
+ $val = Validate::rule(array_merge(Config::get('validate_rules.AccountAdd'), ['id' => 'require|number|gt:0']));
if (!$val->check($param)) throw new ValidateException($val->getError());