mingyang-admin-iot-app/api/internal/logic/user/check_login_logic.go

31 lines
606 B
Go

package user
import (
"context"
"mingyang-admin-app-api/internal/svc"
"mingyang-admin-app-api/internal/types"
"github.com/zeromicro/go-zero/core/logx"
)
type CheckLoginLogic struct {
logx.Logger
ctx context.Context
svcCtx *svc.ServiceContext
}
func NewCheckLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckLoginLogic {
return &CheckLoginLogic{
Logger: logx.WithContext(ctx),
ctx: ctx,
svcCtx: svcCtx,
}
}
func (l *CheckLoginLogic) CheckLogin(req *types.IDReq) (resp *types.BaseDataInfo, err error) {
// todo: add your logic here and delete this line
return
}