2025-01-17 17:09:32 +08:00

21 lines
429 B
Go

package service
import (
"context"
user "github.com/suyiiyii/hertz101/rpc_gen/kitex_gen/user"
)
type LoginService struct {
ctx context.Context
} // NewLoginService new LoginService
func NewLoginService(ctx context.Context) *LoginService {
return &LoginService{ctx: ctx}
}
// Run create note info
func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, err error) {
// Finish your business logic.
return
}