How to validate multiple keys for same validation in a single line in Laravel Api

后端 未结 0 1593
既然无缘
既然无缘 2020-12-04 16:02

These are the keys coming in api

$this->validate($request, [
\'keyA\' => \'numeric\',
\'keyB\' => \'numeric\',
\'keyC\' => \'numeric\',
]);


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题