mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-30 17:00:26 +08:00
安装过程中可以选择自动在本机安装MySQL
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package setup
|
||||
|
||||
import "github.com/iwind/TeaGo"
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/setup/mysql"
|
||||
"github.com/iwind/TeaGo"
|
||||
)
|
||||
|
||||
func init() {
|
||||
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
||||
@@ -15,6 +18,8 @@ func init() {
|
||||
Post("/status", new(StatusAction)).
|
||||
Post("/detectDB", new(DetectDBAction)).
|
||||
Post("/checkLocalIP", new(CheckLocalIPAction)).
|
||||
GetPost("/mysql/installPopup", new(mysql.InstallPopupAction)).
|
||||
Post("/mysql/installLogs", new(mysql.InstallLogsAction)).
|
||||
EndAll()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user