mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
feat: 全局汉化验证器返回
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
package bootstrap
|
||||
|
||||
import (
|
||||
"github.com/gookit/validate/locales/zhcn"
|
||||
"github.com/goravel/framework/foundation"
|
||||
|
||||
"panel/config"
|
||||
)
|
||||
|
||||
func Boot() {
|
||||
zhcn.RegisterGlobal()
|
||||
|
||||
app := foundation.NewApplication()
|
||||
|
||||
// Bootstrap the application
|
||||
|
||||
Reference in New Issue
Block a user