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 ¶
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 ¶
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 ¶
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)