fix: php 拓展和负载页报错

This commit is contained in:
耗子
2025-04-13 19:44:37 +08:00
parent d641c78000
commit 8638dcb9c8
+1
View File
@@ -38,6 +38,7 @@ func (s *App) Route(version uint) func(r chi.Router) {
return func(r chi.Router) {
php := new(App)
php.version = version
php.t = s.t
php.taskRepo = s.taskRepo
r.Post("/setCli", php.SetCli)
r.Get("/config", php.GetConfig)