🎨做了一些bug修复和变动
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"gitee.ltd/lxh/logger/log"
|
||||
"github.com/spf13/cast"
|
||||
"os"
|
||||
"strconv"
|
||||
"wireguard-dashboard/client"
|
||||
@@ -95,7 +96,7 @@ func asyncWireguardConfigFile() {
|
||||
CreatedAt: v.CreatedAt.String(),
|
||||
UpdatedAt: v.UpdatedAt.String(),
|
||||
CreateUser: createUserName,
|
||||
Enabled: v.Enabled,
|
||||
Enabled: cast.ToBool(v.Enabled),
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user