feat: import services and standardize Go 1.26.5

This commit is contained in:
2026-08-09 10:43:45 +08:00
parent 689c74b28f
commit 86024fa81d
1456 changed files with 220765 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
// Code generated by protoc-gen-slc. DO NOT EDIT.
package server
import (
"context"
"git.apinb.com/bsm-apps/passport/internal/logic/register"
pb "git.apinb.com/bsm-apps/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)
}