Files
observer/server/biz/controller/license.go
T

19 lines
342 B
Go

package controller
import (
"context"
"observer-server/biz/model/dto"
"observer-server/biz/service"
)
// cLicense 授权接口
type cLicense struct{}
var License = &cLicense{}
// Get 查询授权状态
func (c *cLicense) Get(ctx context.Context, req *dto.LicenseReq) (*dto.LicenseRes, error) {
return service.License.Get(ctx, req)
}