2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00

refactor: 分离服务与接口

This commit is contained in:
耗子
2023-12-14 01:11:39 +08:00
parent d731efb082
commit 8e84d2553f
43 changed files with 310 additions and 257 deletions

View File

@@ -6,13 +6,14 @@ import (
"github.com/goravel/framework/contracts/http"
"github.com/goravel/framework/facades"
"panel/app/internal"
"panel/app/internal/services"
"panel/app/models"
"panel/app/services"
)
type PluginController struct {
plugin services.Plugin
task services.Task
plugin internal.Plugin
task internal.Task
}
func NewPluginController() *PluginController {