mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-23 01:40:29 +08:00
安装过程中可以选择自动在本机安装MySQL
This commit is contained in:
17
internal/web/actions/default/setup/mysql/installLogs.go
Normal file
17
internal/web/actions/default/setup/mysql/installLogs.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2023 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package mysql
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/setup/mysql/mysqlinstallers/utils"
|
||||
)
|
||||
|
||||
type InstallLogsAction struct {
|
||||
actionutils.ParentAction
|
||||
}
|
||||
|
||||
func (this *InstallLogsAction) RunPost(params struct{}) {
|
||||
this.Data["logs"] = utils.SharedLogger.ReadAll()
|
||||
this.Success()
|
||||
}
|
||||
Reference in New Issue
Block a user