比如:email 和 phone 有一个填了就验证通过,验证规则该怎么写?
比如:email 和 phone 有一个填了就验证通过,验证规则该怎么写?
'email' => 'required_without:phone',
'phone' => 'required_without:email',
详见:
https://laravel.com/docs/5.3/...
已抢23384个
抢已抢117824个
抢已抢139263个
抢已抢6235个
抢已抢35601个
抢已抢8135个
抢