1、文件:app/controller/admin/v1/wechat/RoutineTemplate.php

2、复制:use function Swoole\Coroutine\batch;

3、复制到下图(修改后)所示位置,

4、重启swoole