[laravel] use 'OR' middleware for route (2 roles or~)

To allow both roles to access the API using the OR logic, you can use the middleware('restrictRole:admin,admin2') method.

留言