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

import (
	"context"
	"bsm/full/module/base/initial/internal/logic/data"
	pb "bsm/full/module/base/initial/pb"
)

type DataServer struct {
	pb.UnimplementedDataServer
}

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

func (s *DataServer) Country(ctx context.Context, in *pb.Empty) (*pb.CountryReply, error) {
	return data.Country(ctx, in)
}

// 系统区域数据,默认级别：市
func (s *DataServer) Areas(ctx context.Context, in *pb.AreasRequest) (*pb.AreasReply, error) {
	return data.Areas(ctx, in)
}

// 系统数据
func (s *DataServer) Datas(ctx context.Context, in *pb.Empty) (*pb.DatasReply, error) {
	return data.Datas(ctx, in)
}
