代码拉取完成,页面将自动刷新
// Code generated by goctl. DO NOT EDIT.
// goctl 1.7.1
// Source: sys.proto
package server
import (
"context"
"gitee.com/unitedrhino/core/service/syssvr/internal/logic/accessmanage"
"gitee.com/unitedrhino/core/service/syssvr/internal/svc"
"gitee.com/unitedrhino/core/service/syssvr/pb/sys"
)
type AccessManageServer struct {
svcCtx *svc.ServiceContext
sys.UnimplementedAccessManageServer
}
func NewAccessManageServer(svcCtx *svc.ServiceContext) *AccessManageServer {
return &AccessManageServer{
svcCtx: svcCtx,
}
}
func (s *AccessManageServer) ApiInfoCreate(ctx context.Context, in *sys.ApiInfo) (*sys.WithID, error) {
l := accessmanagelogic.NewApiInfoCreateLogic(ctx, s.svcCtx)
return l.ApiInfoCreate(in)
}
func (s *AccessManageServer) ApiInfoIndex(ctx context.Context, in *sys.ApiInfoIndexReq) (*sys.ApiInfoIndexResp, error) {
l := accessmanagelogic.NewApiInfoIndexLogic(ctx, s.svcCtx)
return l.ApiInfoIndex(in)
}
func (s *AccessManageServer) ApiInfoUpdate(ctx context.Context, in *sys.ApiInfo) (*sys.Empty, error) {
l := accessmanagelogic.NewApiInfoUpdateLogic(ctx, s.svcCtx)
return l.ApiInfoUpdate(in)
}
func (s *AccessManageServer) ApiInfoDelete(ctx context.Context, in *sys.WithID) (*sys.Empty, error) {
l := accessmanagelogic.NewApiInfoDeleteLogic(ctx, s.svcCtx)
return l.ApiInfoDelete(in)
}
func (s *AccessManageServer) AccessInfoMultiImport(ctx context.Context, in *sys.AccessInfoMultiImportReq) (*sys.AccessInfoMultiImportResp, error) {
l := accessmanagelogic.NewAccessInfoMultiImportLogic(ctx, s.svcCtx)
return l.AccessInfoMultiImport(in)
}
func (s *AccessManageServer) AccessInfoCreate(ctx context.Context, in *sys.AccessInfo) (*sys.WithID, error) {
l := accessmanagelogic.NewAccessInfoCreateLogic(ctx, s.svcCtx)
return l.AccessInfoCreate(in)
}
func (s *AccessManageServer) AccessInfoIndex(ctx context.Context, in *sys.AccessInfoIndexReq) (*sys.AccessInfoIndexResp, error) {
l := accessmanagelogic.NewAccessInfoIndexLogic(ctx, s.svcCtx)
return l.AccessInfoIndex(in)
}
func (s *AccessManageServer) AccessInfoUpdate(ctx context.Context, in *sys.AccessInfo) (*sys.Empty, error) {
l := accessmanagelogic.NewAccessInfoUpdateLogic(ctx, s.svcCtx)
return l.AccessInfoUpdate(in)
}
func (s *AccessManageServer) AccessInfoDelete(ctx context.Context, in *sys.WithID) (*sys.Empty, error) {
l := accessmanagelogic.NewAccessInfoDeleteLogic(ctx, s.svcCtx)
return l.AccessInfoDelete(in)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。