支持分割DNS功能

This commit is contained in:
bjdgyc
2024-04-24 17:39:50 +08:00
parent 96c95bb6cd
commit a7c6791c1e
6 changed files with 476 additions and 380 deletions

View File

@@ -75,6 +75,10 @@ func GroupDetail(w http.ResponseWriter, r *http.Request) {
if len(data.Auth) == 0 {
data.Auth["type"] = "local"
}
// 兼容旧数据
if data.SplitDns == nil {
data.SplitDns = []dbdata.ValData{}
}
RespSucess(w, data)
}