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

import (
	"bsm/full/module/ec/mall/internal/logic/store"
	pb "bsm/full/module/ec/mall/pb"
	"context"
)

type StoreServer struct {
	pb.UnimplementedStoreServer
}

func NewStoreServer() *StoreServer {
	return &StoreServer{}
}

// 申请加入店铺
func (s *StoreServer) ApplyJoin(ctx context.Context, in *pb.ApplyJoinRequest) (*pb.IdentityStatusReply, error) {
	return store.ApplyJoin(ctx, in)
}

// 店铺许可授权
func (s *StoreServer) Licensing(ctx context.Context, in *pb.LicensingRequest) (*pb.IdentityStatusReply, error) {
	return store.Licensing(ctx, in)
}

// 获取店铺基础配置
func (s *StoreServer) GetSetting(ctx context.Context, in *pb.IdentRequest) (*pb.StoreBasic, error) {
	return store.GetSetting(ctx, in)
}

// 设置店铺基础配置
func (s *StoreServer) SetSetting(ctx context.Context, in *pb.StoreBasic) (*pb.IdentityStatusReply, error) {
	return store.SetSetting(ctx, in)
}

// 设置支付方式配置
func (s *StoreServer) SetPayment(ctx context.Context, in *pb.SettingRequest) (*pb.IdentityStatusReply, error) {
	return store.SetPayment(ctx, in)
}

// 设置邮件服务器配置
func (s *StoreServer) SetEmail(ctx context.Context, in *pb.SettingRequest) (*pb.IdentityStatusReply, error) {
	return store.SetEmail(ctx, in)
}

// 获取支付方式配置
func (s *StoreServer) GetPayment(ctx context.Context, in *pb.IdentRequest) (*pb.ConfigsReply, error) {
	return store.GetPayment(ctx, in)
}

// 获取邮件服务器配置
func (s *StoreServer) GetEmail(ctx context.Context, in *pb.IdentRequest) (*pb.ConfigsReply, error) {
	return store.GetEmail(ctx, in)
}

// 获取小程序推荐码
func (s *StoreServer) MiniCode(ctx context.Context, in *pb.MiniCodeRequest) (*pb.MiniCodeReply, error) {
	return store.MiniCode(ctx, in)
}

// 店铺搜索
func (s *StoreServer) Search(ctx context.Context, in *pb.MallSearchRequest) (*pb.MallSearchReply, error) {
	return store.Search(ctx, in)
}
