“服务分组”改为“网站分组”

This commit is contained in:
GoEdgeLab
2023-06-04 10:30:57 +08:00
parent 661d32c1bc
commit 6ea8923956
19 changed files with 20 additions and 20 deletions

View File

@@ -42,7 +42,7 @@ func (this *CreatePopupAction) RunPost(params struct {
}
// 创建日志
defer this.CreateLog(oplogs.LevelInfo, "创建服务分组 %d", createResp.ServerGroupId)
defer this.CreateLog(oplogs.LevelInfo, "创建网站分组 %d", createResp.ServerGroupId)
this.Success()
}

View File

@@ -14,7 +14,7 @@ func (this *DeleteAction) RunPost(params struct {
GroupId int64
}) {
// 创建日志
defer this.CreateLog(oplogs.LevelInfo, "删除代理服务分组 %d", params.GroupId)
defer this.CreateLog(oplogs.LevelInfo, "删除代理网站分组 %d", params.GroupId)
// 检查是否正在使用
countResp, err := this.RPC().ServerRPC().CountAllEnabledServersWithServerGroupId(this.AdminContext(), &pb.CountAllEnabledServersWithServerGroupIdRequest{ServerGroupId: params.GroupId})

View File

@@ -41,7 +41,7 @@ func (this *UpdateAction) RunPost(params struct {
Must *actions.Must
}) {
// 创建日志
defer this.CreateLog(oplogs.LevelInfo, "修改代理服务分组 %d", params.GroupId)
defer this.CreateLog(oplogs.LevelInfo, "修改网站分组 %d", params.GroupId)
params.Must.
Field("name", params.Name).

View File

@@ -14,7 +14,7 @@ func (this *SortAction) RunPost(params struct {
GroupIds []int64
}) {
// 创建日志
defer this.CreateLog(oplogs.LevelInfo, "修改服务分组排序")
defer this.CreateLog(oplogs.LevelInfo, "修改网站分组排序")
_, err := this.RPC().ServerGroupRPC().UpdateServerGroupOrders(this.AdminContext(), &pb.UpdateServerGroupOrdersRequest{ServerGroupIds: params.GroupIds})
if err != nil {

View File

@@ -34,7 +34,7 @@ func FindAllMenuMaps(nodeLogsType string, countUnreadNodeLogs int64, countUnread
"code": "cert",
},
{
"name": "服务分组",
"name": "网站分组",
"url": "/servers/groups",
"code": "group",
},