21 lines
524 B
Go
21 lines
524 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
auth "github.com/suyiiyii/hertz101/app/auth/kitex_gen/auth"
|
|
)
|
|
|
|
type DeliverTokenByRPCService struct {
|
|
ctx context.Context
|
|
} // NewDeliverTokenByRPCService new DeliverTokenByRPCService
|
|
func NewDeliverTokenByRPCService(ctx context.Context) *DeliverTokenByRPCService {
|
|
return &DeliverTokenByRPCService{ctx: ctx}
|
|
}
|
|
|
|
// Run create note info
|
|
func (s *DeliverTokenByRPCService) Run(req *auth.DeliverTokenReq) (resp *auth.DeliveryResp, err error) {
|
|
// Finish your business logic.
|
|
|
|
return
|
|
}
|