实现在服务中使用分组

This commit is contained in:
GoEdgeLab
2020-10-29 21:37:48 +08:00
parent 8397c71a21
commit cc9b1adb34
13 changed files with 169 additions and 59 deletions

View File

@@ -47,6 +47,7 @@ func (this *CreateAction) RunPost(params struct {
Name string
Description string
ClusterId int64
GroupIds []int64
ServerType string
Addresses string
@@ -259,6 +260,7 @@ func (this *CreateAction) RunPost(params struct {
ExcludeNodesJSON: excludeNodesJSON,
WebId: webId,
ReverseProxyJSON: reverseProxyRefJSON,
GroupIds: params.GroupIds,
}
if httpConfig != nil {
data, err := json.Marshal(httpConfig)