common

package
v0.0.0-...-b701592 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

* @Author: qiaoshuai p-qiaoshuai@xiaomi.com * @Date: 2023-07-10 19:54:20 * @LastEditors: qiaoshuai p-qiaoshuai@xiaomi.com * @LastEditTime: 2023-07-10 19:56:40 * @FilePath: /microSNS/app/frontend/internal/logic/common/login-logic.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE

* @Author: qiaoshuai p-qiaoshuai@xiaomi.com * @Date: 2023-07-10 19:54:20 * @LastEditors: qiaoshuai p-qiaoshuai@xiaomi.com * @LastEditTime: 2023-07-10 19:55:50 * @FilePath: /microSNS/app/frontend/internal/logic/common/register-logic.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE

* @Author: qiaoshuai p-qiaoshuai@xiaomi.com * @Date: 2023-07-10 19:54:20 * @LastEditors: qiaoshuai p-qiaoshuai@xiaomi.com * @LastEditTime: 2023-07-10 19:57:20 * @FilePath: /microSNS/app/frontend/internal/logic/common/send-email-code-logic.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginLogic

type LoginLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewLoginLogic

func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) LoginLogic

func (*LoginLogic) Login

func (l *LoginLogic) Login(req types.LoginReq) (resp *types.LoginResply, err error)

type RegisterLogic

type RegisterLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRegisterLogic

func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) RegisterLogic

func (*RegisterLogic) Register

func (l *RegisterLogic) Register(req types.RegisterReq) (resp *types.CommonResply, err error)

type SendEmailCodeLogic

type SendEmailCodeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSendEmailCodeLogic

func NewSendEmailCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) SendEmailCodeLogic

func (*SendEmailCodeLogic) SendEmailCode

func (l *SendEmailCodeLogic) SendEmailCode(req types.SenEmailCodeReq) (resp *types.CommonResply, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL