// Code generated by protoc-gen-slc. DO NOT EDIT.
package server

import (
	"context"
	"bsm/full/module/ec/market/internal/logic/data"
	pb "bsm/full/module/ec/market/pb"
)

type DataServer struct {
	pb.UnimplementedDataServer
}

func NewDataServer() *DataServer {
	return &DataServer{}
}

// 概况
func (s *DataServer) Overview(ctx context.Context, in *pb.Empty) (*pb.OverviewReply, error) {
	return data.Overview(ctx, in)
}

// 会员列表
func (s *DataServer) MemberFetch(ctx context.Context, in *pb.FetchRequest) (*pb.DataReply, error) {
	return data.MemberFetch(ctx, in)
}

// 会员详情
func (s *DataServer) MemberDetails(ctx context.Context, in *pb.IdentRequest) (*pb.KeyVal, error) {
	return data.MemberDetails(ctx, in)
}

// 订单列表
func (s *DataServer) OrderFetch(ctx context.Context, in *pb.FetchRequest) (*pb.DataReply, error) {
	return data.OrderFetch(ctx, in)
}

// 订单详情
func (s *DataServer) OrderDetails(ctx context.Context, in *pb.IdentRequest) (*pb.KeyVal, error) {
	return data.OrderDetails(ctx, in)
}
