417 lines
16 KiB
Go
417 lines
16 KiB
Go
// Code generated by goctl. DO NOT EDIT.
|
|
// goctl 1.10.1
|
|
// Source: plant.proto
|
|
|
|
package server
|
|
|
|
import (
|
|
"context"
|
|
|
|
"sundynix-micro-go/app/plant/rpc/internal/logic"
|
|
"sundynix-micro-go/app/plant/rpc/internal/svc"
|
|
"sundynix-micro-go/app/plant/rpc/plant"
|
|
)
|
|
|
|
type PlantServiceServer struct {
|
|
svcCtx *svc.ServiceContext
|
|
plant.UnimplementedPlantServiceServer
|
|
}
|
|
|
|
func NewPlantServiceServer(svcCtx *svc.ServiceContext) *PlantServiceServer {
|
|
return &PlantServiceServer{
|
|
svcCtx: svcCtx,
|
|
}
|
|
}
|
|
|
|
// 用户Profile
|
|
func (s *PlantServiceServer) GetUserProfile(ctx context.Context, in *plant.GetProfileReq) (*plant.PlantUserProfile, error) {
|
|
l := logic.NewGetUserProfileLogic(ctx, s.svcCtx)
|
|
return l.GetUserProfile(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) FindOrCreateUserByOpenId(ctx context.Context, in *plant.FindOrCreateUserByOpenIdReq) (*plant.PlantUserProfile, error) {
|
|
l := logic.NewFindOrCreateUserByOpenIdLogic(ctx, s.svcCtx)
|
|
return l.FindOrCreateUserByOpenId(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) UpdateUserProfile(ctx context.Context, in *plant.UpdateProfileReq) (*plant.CommonResp, error) {
|
|
l := logic.NewUpdateUserProfileLogic(ctx, s.svcCtx)
|
|
return l.UpdateUserProfile(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetMyBadges(ctx context.Context, in *plant.GetProfileReq) (*plant.UserBadgeListResp, error) {
|
|
l := logic.NewGetMyBadgesLogic(ctx, s.svcCtx)
|
|
return l.GetMyBadges(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetMyStars(ctx context.Context, in *plant.GetProfileReq) (*plant.UserStarListResp, error) {
|
|
l := logic.NewGetMyStarsLogic(ctx, s.svcCtx)
|
|
return l.GetMyStars(in)
|
|
}
|
|
|
|
// 我的植物
|
|
func (s *PlantServiceServer) CreatePlant(ctx context.Context, in *plant.CreatePlantReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCreatePlantLogic(ctx, s.svcCtx)
|
|
return l.CreatePlant(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) UpdatePlant(ctx context.Context, in *plant.UpdatePlantReq) (*plant.CommonResp, error) {
|
|
l := logic.NewUpdatePlantLogic(ctx, s.svcCtx)
|
|
return l.UpdatePlant(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeletePlant(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeletePlantLogic(ctx, s.svcCtx)
|
|
return l.DeletePlant(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetPlantList(ctx context.Context, in *plant.PlantListReq) (*plant.PlantListResp, error) {
|
|
l := logic.NewGetPlantListLogic(ctx, s.svcCtx)
|
|
return l.GetPlantList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetPlantDetail(ctx context.Context, in *plant.IdReq) (*plant.PlantDetailResp, error) {
|
|
l := logic.NewGetPlantDetailLogic(ctx, s.svcCtx)
|
|
return l.GetPlantDetail(in)
|
|
}
|
|
|
|
// 养护
|
|
func (s *PlantServiceServer) AddCarePlan(ctx context.Context, in *plant.AddCarePlanReq) (*plant.CommonResp, error) {
|
|
l := logic.NewAddCarePlanLogic(ctx, s.svcCtx)
|
|
return l.AddCarePlan(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteCarePlan(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteCarePlanLogic(ctx, s.svcCtx)
|
|
return l.DeleteCarePlan(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetTodayTaskList(ctx context.Context, in *plant.GetProfileReq) (*plant.CareTaskListResp, error) {
|
|
l := logic.NewGetTodayTaskListLogic(ctx, s.svcCtx)
|
|
return l.GetTodayTaskList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) CompleteTask(ctx context.Context, in *plant.CompleteTaskReq) (*plant.TaskCompletionResult, error) {
|
|
l := logic.NewCompleteTaskLogic(ctx, s.svcCtx)
|
|
return l.CompleteTask(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) AddCareRecord(ctx context.Context, in *plant.AddCareRecordReq) (*plant.CommonResp, error) {
|
|
l := logic.NewAddCareRecordLogic(ctx, s.svcCtx)
|
|
return l.AddCareRecord(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) AddGrowthRecord(ctx context.Context, in *plant.AddGrowthRecordReq) (*plant.CommonResp, error) {
|
|
l := logic.NewAddGrowthRecordLogic(ctx, s.svcCtx)
|
|
return l.AddGrowthRecord(in)
|
|
}
|
|
|
|
// 百科
|
|
func (s *PlantServiceServer) GetWikiList(ctx context.Context, in *plant.WikiListReq) (*plant.WikiListResp, error) {
|
|
l := logic.NewGetWikiListLogic(ctx, s.svcCtx)
|
|
return l.GetWikiList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetWikiDetail(ctx context.Context, in *plant.IdReq) (*plant.WikiDetailResp, error) {
|
|
l := logic.NewGetWikiDetailLogic(ctx, s.svcCtx)
|
|
return l.GetWikiDetail(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) CreateWiki(ctx context.Context, in *plant.CreateWikiReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCreateWikiLogic(ctx, s.svcCtx)
|
|
return l.CreateWiki(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) UpdateWiki(ctx context.Context, in *plant.UpdateWikiReq) (*plant.CommonResp, error) {
|
|
l := logic.NewUpdateWikiLogic(ctx, s.svcCtx)
|
|
return l.UpdateWiki(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteWiki(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteWikiLogic(ctx, s.svcCtx)
|
|
return l.DeleteWiki(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) SyncWikiVector(ctx context.Context, in *plant.SyncWikiVectorReq) (*plant.CommonResp, error) {
|
|
l := logic.NewSyncWikiVectorLogic(ctx, s.svcCtx)
|
|
return l.SyncWikiVector(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteWikiVector(ctx context.Context, in *plant.SyncWikiVectorReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteWikiVectorLogic(ctx, s.svcCtx)
|
|
return l.DeleteWikiVector(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) SyncAllWikiVector(ctx context.Context, in *plant.PageReq) (*plant.CommonResp, error) {
|
|
l := logic.NewSyncAllWikiVectorLogic(ctx, s.svcCtx)
|
|
return l.SyncAllWikiVector(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetWikiClassList(ctx context.Context, in *plant.IdReq) (*plant.WikiClassListResp, error) {
|
|
l := logic.NewGetWikiClassListLogic(ctx, s.svcCtx)
|
|
return l.GetWikiClassList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) CreateWikiClass(ctx context.Context, in *plant.CreateWikiClassReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCreateWikiClassLogic(ctx, s.svcCtx)
|
|
return l.CreateWikiClass(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) UpdateWikiClass(ctx context.Context, in *plant.UpdateWikiClassReq) (*plant.CommonResp, error) {
|
|
l := logic.NewUpdateWikiClassLogic(ctx, s.svcCtx)
|
|
return l.UpdateWikiClass(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteWikiClass(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteWikiClassLogic(ctx, s.svcCtx)
|
|
return l.DeleteWikiClass(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) ToggleWikiStar(ctx context.Context, in *plant.ToggleStarReq) (*plant.CommonResp, error) {
|
|
l := logic.NewToggleWikiStarLogic(ctx, s.svcCtx)
|
|
return l.ToggleWikiStar(in)
|
|
}
|
|
|
|
// OCR
|
|
func (s *PlantServiceServer) GetMyClassifyLog(ctx context.Context, in *plant.GetProfileReq) (*plant.ClassifyLogListResp, error) {
|
|
l := logic.NewGetMyClassifyLogLogic(ctx, s.svcCtx)
|
|
return l.GetMyClassifyLog(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteClassifyLog(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteClassifyLogLogic(ctx, s.svcCtx)
|
|
return l.DeleteClassifyLog(in)
|
|
}
|
|
|
|
// 社区
|
|
func (s *PlantServiceServer) CreatePost(ctx context.Context, in *plant.CreatePostReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCreatePostLogic(ctx, s.svcCtx)
|
|
return l.CreatePost(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeletePost(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeletePostLogic(ctx, s.svcCtx)
|
|
return l.DeletePost(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetPostList(ctx context.Context, in *plant.PostListReq) (*plant.PostListResp, error) {
|
|
l := logic.NewGetPostListLogic(ctx, s.svcCtx)
|
|
return l.GetPostList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetPostDetail(ctx context.Context, in *plant.IdReq) (*plant.PostDetailResp, error) {
|
|
l := logic.NewGetPostDetailLogic(ctx, s.svcCtx)
|
|
return l.GetPostDetail(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) CommentPost(ctx context.Context, in *plant.CommentPostReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCommentPostLogic(ctx, s.svcCtx)
|
|
return l.CommentPost(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) LikePost(ctx context.Context, in *plant.LikePostReq) (*plant.CommonResp, error) {
|
|
l := logic.NewLikePostLogic(ctx, s.svcCtx)
|
|
return l.LikePost(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) StarPost(ctx context.Context, in *plant.LikePostReq) (*plant.CommonResp, error) {
|
|
l := logic.NewStarPostLogic(ctx, s.svcCtx)
|
|
return l.StarPost(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) MediaCheckCallback(ctx context.Context, in *plant.MediaCheckCallbackReq) (*plant.CommonResp, error) {
|
|
l := logic.NewMediaCheckCallbackLogic(ctx, s.svcCtx)
|
|
return l.MediaCheckCallback(in)
|
|
}
|
|
|
|
// 话题
|
|
func (s *PlantServiceServer) GetTopicList(ctx context.Context, in *plant.IdReq) (*plant.TopicListResp, error) {
|
|
l := logic.NewGetTopicListLogic(ctx, s.svcCtx)
|
|
return l.GetTopicList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetTopicDetail(ctx context.Context, in *plant.IdReq) (*plant.TopicInfo, error) {
|
|
l := logic.NewGetTopicDetailLogic(ctx, s.svcCtx)
|
|
return l.GetTopicDetail(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) CreateTopic(ctx context.Context, in *plant.CreateTopicReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCreateTopicLogic(ctx, s.svcCtx)
|
|
return l.CreateTopic(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) UpdateTopic(ctx context.Context, in *plant.UpdateTopicReq) (*plant.CommonResp, error) {
|
|
l := logic.NewUpdateTopicLogic(ctx, s.svcCtx)
|
|
return l.UpdateTopic(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteTopic(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteTopicLogic(ctx, s.svcCtx)
|
|
return l.DeleteTopic(in)
|
|
}
|
|
|
|
// 兑换
|
|
func (s *PlantServiceServer) GetExchangeItemList(ctx context.Context, in *plant.ExchangeItemListReq) (*plant.ExchangeItemListResp, error) {
|
|
l := logic.NewGetExchangeItemListLogic(ctx, s.svcCtx)
|
|
return l.GetExchangeItemList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetExchangeItemDetail(ctx context.Context, in *plant.IdReq) (*plant.ExchangeItemInfo, error) {
|
|
l := logic.NewGetExchangeItemDetailLogic(ctx, s.svcCtx)
|
|
return l.GetExchangeItemDetail(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) CreateExchangeItem(ctx context.Context, in *plant.CreateExchangeItemReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCreateExchangeItemLogic(ctx, s.svcCtx)
|
|
return l.CreateExchangeItem(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) UpdateExchangeItem(ctx context.Context, in *plant.UpdateExchangeItemReq) (*plant.CommonResp, error) {
|
|
l := logic.NewUpdateExchangeItemLogic(ctx, s.svcCtx)
|
|
return l.UpdateExchangeItem(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteExchangeItem(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteExchangeItemLogic(ctx, s.svcCtx)
|
|
return l.DeleteExchangeItem(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) CreateExchangeOrder(ctx context.Context, in *plant.CreateExchangeOrderReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCreateExchangeOrderLogic(ctx, s.svcCtx)
|
|
return l.CreateExchangeOrder(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetMyExchangeOrders(ctx context.Context, in *plant.ExchangeOrderListReq) (*plant.ExchangeOrderListResp, error) {
|
|
l := logic.NewGetMyExchangeOrdersLogic(ctx, s.svcCtx)
|
|
return l.GetMyExchangeOrders(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetExchangeOrderList(ctx context.Context, in *plant.ExchangeOrderListReq) (*plant.ExchangeOrderListResp, error) {
|
|
l := logic.NewGetExchangeOrderListLogic(ctx, s.svcCtx)
|
|
return l.GetExchangeOrderList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) UpdateExchangeOrder(ctx context.Context, in *plant.UpdateExchangeOrderReq) (*plant.CommonResp, error) {
|
|
l := logic.NewUpdateExchangeOrderLogic(ctx, s.svcCtx)
|
|
return l.UpdateExchangeOrder(in)
|
|
}
|
|
|
|
// 配置
|
|
func (s *PlantServiceServer) GetLevelConfigList(ctx context.Context, in *plant.PageReq) (*plant.LevelConfigListResp, error) {
|
|
l := logic.NewGetLevelConfigListLogic(ctx, s.svcCtx)
|
|
return l.GetLevelConfigList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetLevelConfigDetail(ctx context.Context, in *plant.IdReq) (*plant.LevelConfigInfo, error) {
|
|
l := logic.NewGetLevelConfigDetailLogic(ctx, s.svcCtx)
|
|
return l.GetLevelConfigDetail(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) CreateLevelConfig(ctx context.Context, in *plant.CreateLevelConfigReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCreateLevelConfigLogic(ctx, s.svcCtx)
|
|
return l.CreateLevelConfig(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) UpdateLevelConfig(ctx context.Context, in *plant.UpdateLevelConfigReq) (*plant.CommonResp, error) {
|
|
l := logic.NewUpdateLevelConfigLogic(ctx, s.svcCtx)
|
|
return l.UpdateLevelConfig(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteLevelConfig(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteLevelConfigLogic(ctx, s.svcCtx)
|
|
return l.DeleteLevelConfig(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetBadgeConfigList(ctx context.Context, in *plant.BadgeConfigListReq) (*plant.BadgeConfigListResp, error) {
|
|
l := logic.NewGetBadgeConfigListLogic(ctx, s.svcCtx)
|
|
return l.GetBadgeConfigList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetBadgeConfigDetail(ctx context.Context, in *plant.IdReq) (*plant.BadgeConfigInfo, error) {
|
|
l := logic.NewGetBadgeConfigDetailLogic(ctx, s.svcCtx)
|
|
return l.GetBadgeConfigDetail(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetBadgeConfigTree(ctx context.Context, in *plant.IdReq) (*plant.BadgeConfigTreeResp, error) {
|
|
l := logic.NewGetBadgeConfigTreeLogic(ctx, s.svcCtx)
|
|
return l.GetBadgeConfigTree(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) CreateBadgeConfig(ctx context.Context, in *plant.CreateBadgeConfigReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCreateBadgeConfigLogic(ctx, s.svcCtx)
|
|
return l.CreateBadgeConfig(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) UpdateBadgeConfig(ctx context.Context, in *plant.UpdateBadgeConfigReq) (*plant.CommonResp, error) {
|
|
l := logic.NewUpdateBadgeConfigLogic(ctx, s.svcCtx)
|
|
return l.UpdateBadgeConfig(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteBadgeConfig(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteBadgeConfigLogic(ctx, s.svcCtx)
|
|
return l.DeleteBadgeConfig(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetWikiClassDetail(ctx context.Context, in *plant.IdReq) (*plant.WikiClassInfo, error) {
|
|
l := logic.NewGetWikiClassDetailLogic(ctx, s.svcCtx)
|
|
return l.GetWikiClassDetail(in)
|
|
}
|
|
|
|
// AI
|
|
func (s *PlantServiceServer) GetAiChatHistory(ctx context.Context, in *plant.AiChatHistoryReq) (*plant.AiChatHistoryResp, error) {
|
|
l := logic.NewGetAiChatHistoryLogic(ctx, s.svcCtx)
|
|
return l.GetAiChatHistory(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) SaveAiChatHistory(ctx context.Context, in *plant.SaveAiChatHistoryReq) (*plant.CommonResp, error) {
|
|
l := logic.NewSaveAiChatHistoryLogic(ctx, s.svcCtx)
|
|
return l.SaveAiChatHistory(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteAiChatHistory(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteAiChatHistoryLogic(ctx, s.svcCtx)
|
|
return l.DeleteAiChatHistory(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) ClearAiChatHistory(ctx context.Context, in *plant.GetProfileReq) (*plant.CommonResp, error) {
|
|
l := logic.NewClearAiChatHistoryLogic(ctx, s.svcCtx)
|
|
return l.ClearAiChatHistory(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetAiChatQuota(ctx context.Context, in *plant.GetProfileReq) (*plant.AiQuotaResp, error) {
|
|
l := logic.NewGetAiChatQuotaLogic(ctx, s.svcCtx)
|
|
return l.GetAiChatQuota(in)
|
|
}
|
|
|
|
// 快捷养护
|
|
func (s *PlantServiceServer) QuickCare(ctx context.Context, in *plant.QuickCareReq) (*plant.CommonResp, error) {
|
|
l := logic.NewQuickCareLogic(ctx, s.svcCtx)
|
|
return l.QuickCare(in)
|
|
}
|
|
|
|
// Banner
|
|
func (s *PlantServiceServer) CreateBanner(ctx context.Context, in *plant.CreateBannerReq) (*plant.CommonResp, error) {
|
|
l := logic.NewCreateBannerLogic(ctx, s.svcCtx)
|
|
return l.CreateBanner(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) UpdateBanner(ctx context.Context, in *plant.UpdateBannerReq) (*plant.CommonResp, error) {
|
|
l := logic.NewUpdateBannerLogic(ctx, s.svcCtx)
|
|
return l.UpdateBanner(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) DeleteBanner(ctx context.Context, in *plant.IdsReq) (*plant.CommonResp, error) {
|
|
l := logic.NewDeleteBannerLogic(ctx, s.svcCtx)
|
|
return l.DeleteBanner(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetBannerList(ctx context.Context, in *plant.BannerListReq) (*plant.BannerListResp, error) {
|
|
l := logic.NewGetBannerListLogic(ctx, s.svcCtx)
|
|
return l.GetBannerList(in)
|
|
}
|
|
|
|
func (s *PlantServiceServer) GetActiveBannerList(ctx context.Context, in *plant.PageReq) (*plant.BannerListResp, error) {
|
|
l := logic.NewGetActiveBannerListLogic(ctx, s.svcCtx)
|
|
return l.GetActiveBannerList(in)
|
|
}
|