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,31 @@
// Code generated by protoc-gen-slc. DO NOT EDIT.
package server
import (
"context"
"git.apinb.com/bsm-apps/passport/internal/logic/login"
pb "git.apinb.com/bsm-apps/passport/pb"
)
type LoginServer struct {
pb.UnimplementedLoginServer
}
func NewLoginServer() *LoginServer {
return &LoginServer{}
}
// 通过密码登录
func (s *LoginServer) Pwd(ctx context.Context, in *pb.LoginByPwdRequest) (*pb.LoginReply, error) {
return login.Pwd(ctx, in)
}
// 通过验证码登录
func (s *LoginServer) Code(ctx context.Context, in *pb.LoginByCodeRequest) (*pb.LoginReply, error) {
return login.Code(ctx, in)
}
// 通过验证码快捷登录并注册
func (s *LoginServer) Quick(ctx context.Context, in *pb.LoginByCodeRequest) (*pb.LoginReply, error) {
return login.Quick(ctx, in)
}