- 在 composer.json 中添加 opis/closure 依赖 -版本要求为 ^4.3.1
@@ -31,6 +31,7 @@
"topthink/think-queue": "^3.0.12",
"topthink/think-view": "^2.0.5",
"topthink/think-worker": "^5.0.2",
+ "opis/closure": "^4.3.1",
"workerman/crontab": "^1.0.7"
},
"extra": {