release: v1.9.1

This commit is contained in:
meilin.huang
2024-11-21 19:02:15 +08:00
parent e03ceecd9a
commit 9366a76b84
17 changed files with 253 additions and 61 deletions

View File

@@ -4,7 +4,7 @@ import "fmt"
const (
AppName = "mayfly-go"
Version = "v1.9.0"
Version = "v1.9.1"
)
func GetAppInfo() string {

View File

@@ -2,6 +2,7 @@ package config
import (
"fmt"
"mayfly-go/pkg/i18n"
)
type Server struct {
@@ -17,7 +18,7 @@ type Server struct {
func (s *Server) Default() {
if s.Lang == "" {
s.Lang = "zh_CN"
s.Lang = i18n.Zh_CN
}
if s.Model == "" {
s.Model = "release"