// Package controller ----------------------------- // @file : artshowVideo.go // @author : JJXu // @contact : wavingbear@163.com // @time : 2023/3/2 10:52 // ------------------------------------------- package controller import ( context "context" "github.com/fonchain/fonchain-artistinfo/cmd/internal/logic" "github.com/fonchain/fonchain-artistinfo/pb/artistinfoArtshow" emptypb "google.golang.org/protobuf/types/known/emptypb" ) // 画展包视频 var _ artistinfoArtshow.ArtistInfoArtshowServer = new(ArtistInfoArtshowProvider) type ArtistInfoArtshowProvider struct { artistinfoArtshow.UnimplementedArtistInfoArtshowServer logic logic.ArtshowVideoLogic } func (a ArtistInfoArtshowProvider) BatchCreateArtshowVideo(ctx context.Context, request *artistinfoArtshow.BatchCreateArtshowVideoRequest) (*emptypb.Empty, error) { return nil, a.logic.BatchCreateArtshowVideo(request) } func (a ArtistInfoArtshowProvider) CreateArtshowVideo(ctx context.Context, info *artistinfoArtshow.ArtshowVideoInfo) (*emptypb.Empty, error) { return nil, a.logic.CreateArtshowVideo(info) } func (a ArtistInfoArtshowProvider) GetArtshowVideoList(ctx context.Context, requst *artistinfoArtshow.GetArtshowVideoListRequst) (*artistinfoArtshow.GetArtshowVideoListResponse, error) { return a.logic.GetArtshowVideoList(requst) } func (a ArtistInfoArtshowProvider) AuditArtshowVideo(ctx context.Context, request *artistinfoArtshow.AuditArtshowVideoRequest) (*emptypb.Empty, error) { return a.logic.AuditArtshowVideo(request) } func (a ArtistInfoArtshowProvider) UpdateArtshowVideo(ctx context.Context, request *artistinfoArtshow.UpdateArtshowVideoRequest) (*emptypb.Empty, error) { return a.logic.UpdateArtshowVideo(request) } func (a ArtistInfoArtshowProvider) DeletedArtshowVideo(ctx context.Context, request *artistinfoArtshow.DeletedArtshowVideoRequest) (*emptypb.Empty, error) { return a.logic.DeletedArtshowVideo(request) }