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

import (
	"context"
	"bsm/full/module/base/passport/internal/logic/register"
	pb "bsm/full/module/base/passport/pb"
)

type RegisterServer struct {
	pb.UnimplementedRegisterServer
}

func NewRegisterServer() *RegisterServer {
	return &RegisterServer{}
}

// 帐号密码注册
func (s *RegisterServer) Pwd(ctx context.Context, in *pb.RegisterRequest) (*pb.RegisterReply, error) {
	return register.Pwd(ctx, in)
}

// 手机验证码注册
func (s *RegisterServer) Code(ctx context.Context, in *pb.RegisterRequest) (*pb.RegisterReply, error) {
	return register.Code(ctx, in)
}
