To satisfy these requirements, you will create an Ant task class that you can deploy by command.
要满足这些需求,您将创建一个您可以通过命令部署的 Ant 任务类。
To do so, you can use the Grails command create-service and refactor your code to move business logic to the service class.
为此,您可以使用Grails命令create - service并重构代码以将业务逻辑移到服务类中。
This command will create a bot on the given team with the specified class and name. If team or name is omitted, they will be assigned randomly.
使用这个指令时会为服务器中添加一个机器人,如果没有明确参数设定时,机器人则会随机选择的兵种与团队。
应用推荐