// Code generated by goctl. DO NOT EDIT! // Source: publicservice.proto package server import ( "context" "jygit.jydev.jianyu360.cn/ApplicationCenter/publicService/rpc/internal/logic" "jygit.jydev.jianyu360.cn/ApplicationCenter/publicService/rpc/internal/svc" "jygit.jydev.jianyu360.cn/ApplicationCenter/publicService/rpc/pb" ) type DatasmtServer struct { svcCtx *svc.ServiceContext pb.UnimplementedDatasmtServer } func NewDatasmtServer(svcCtx *svc.ServiceContext) *DatasmtServer { return &DatasmtServer{ svcCtx: svcCtx, } } // 列表 func (s *DatasmtServer) List(ctx context.Context, in *pb.DatasmtReqList) (*pb.DatasmtRespList, error) { l := logic.NewListLogic(ctx, s.svcCtx) return l.List(in) } // 详情 func (s *DatasmtServer) Detail(ctx context.Context, in *pb.DatasmtReqDetail) (*pb.DatasmtRespDetail, error) { l := logic.NewDetailLogic(ctx, s.svcCtx) return l.Detail(in) }