mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-13 23:40:25 +08:00
商业版增加UAM功能
This commit is contained in:
22
internal/rpc/services/service_server_community.go
Normal file
22
internal/rpc/services/service_server_community.go
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
//go:build !plus
|
||||
// +build !plus
|
||||
|
||||
package services
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb"
|
||||
)
|
||||
|
||||
// UpdateServerUAM 修改服务UAM设置
|
||||
func (this *ServerService) UpdateServerUAM(ctx context.Context, req *pb.UpdateServerUAMRequest) (*pb.RPCSuccess, error) {
|
||||
return this.Success()
|
||||
}
|
||||
|
||||
// FindEnabledServerUAM 查找服务UAM设置
|
||||
func (this *ServerService) FindEnabledServerUAM(ctx context.Context, req *pb.FindEnabledServerUAMRequest) (*pb.FindEnabledServerUAMResponse, error) {
|
||||
return &pb.FindEnabledServerUAMResponse{
|
||||
UamJSON: nil,
|
||||
}, nil
|
||||
}
|
||||
Reference in New Issue
Block a user