If the index() method uses dependency injection, how to pass parameters to $name?
When calling the index method, you can directly pass the external parameters as actual parameters
When calling the index method, you can directly pass the external parameters as actual parameters