标签: laravel laravel-5.4
我有以下验证规则:
"email_work" => "unique:users,email,".$user_id."|email|required_if:is_seller,1",
尽管请求中没有email_work,它仍会请求字段is_seller = 1。 我做错了什么?
email_work
is_seller = 1