2026-08-09 10:43:45 +08:00
|
|
|
// Code generated by protoc-gen-slc. DO NOT EDIT.
|
|
|
|
|
package server
|
|
|
|
|
|
|
|
|
|
import (
|
2026-08-09 12:41:08 +08:00
|
|
|
"bsm/full/module/base/sender/internal/logic/sms"
|
|
|
|
|
pb "bsm/full/module/base/sender/pb"
|
2026-08-09 20:14:57 +08:00
|
|
|
"context"
|
2026-08-09 10:43:45 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type SmsServer struct {
|
|
|
|
|
pb.UnimplementedSmsServer
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewSmsServer() *SmsServer {
|
|
|
|
|
return &SmsServer{}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (s *SmsServer) Send(ctx context.Context, in *pb.SmsSendRequest) (*pb.SmsReply, error) {
|
|
|
|
|
return sms.Send(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (s *SmsServer) Verify(ctx context.Context, in *pb.SmsVerifyRequest) (*pb.SmsReply, error) {
|
|
|
|
|
return sms.Verify(ctx, in)
|
|
|
|
|
}
|