| 123456789101112131415161718192021222324252627282930 |
- package logic
- import (
- "context"
- "slow_wild_api/apps/internal/svc"
- "slow_wild_api/apps/internal/types"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type RegisterLogic struct {
- logx.Logger
- ctx context.Context
- svcCtx *svc.ServiceContext
- }
- func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterLogic {
- return &RegisterLogic{
- Logger: logx.WithContext(ctx),
- ctx: ctx,
- svcCtx: svcCtx,
- }
- }
- func (l *RegisterLogic) Register(req *types.RegisterReq) (resp *types.LoginAndRegisterRsp, err error) {
- // todo: add your logic here and delete this line
- return
- }
|