mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-09 08:40:26 +08:00
限制TCP和UDP网站操作HTTP网站的功能
This commit is contained in:
@@ -23,6 +23,11 @@ func (this *IndexAction) Init() {
|
||||
func (this *IndexAction) RunGet(params struct {
|
||||
ServerId int64
|
||||
}) {
|
||||
// 只有HTTP服务才支持
|
||||
if this.FilterHTTPFamily() {
|
||||
return
|
||||
}
|
||||
|
||||
// 服务分组设置
|
||||
groupResp, err := this.RPC().ServerGroupRPC().FindEnabledServerGroupConfigInfo(this.AdminContext(), &pb.FindEnabledServerGroupConfigInfoRequest{
|
||||
ServerId: params.ServerId,
|
||||
|
||||
Reference in New Issue
Block a user