package logic import ( "context" "godemo/gallery/gallery" "godemo/gallery/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type GetImageListLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewGetImageListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetImageListLogic { return &GetImageListLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 图片元数据操作 func (l *GetImageListLogic) GetImageList(in *gallery.ImageListRequest) (*gallery.ImageListResponse, error) { // todo: add your logic here and delete this line return &gallery.ImageListResponse{}, nil }