31 lines
601 B
Go
31 lines
601 B
Go
package member
|
|
|
|
import (
|
|
"context"
|
|
|
|
"app-cloudep-portal-api-gateway/internal/svc"
|
|
"app-cloudep-portal-api-gateway/internal/types"
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
|
|
type LogoutLogic struct {
|
|
logx.Logger
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
}
|
|
|
|
func NewLogoutLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LogoutLogic {
|
|
return &LogoutLogic{
|
|
Logger: logx.WithContext(ctx),
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
}
|
|
}
|
|
|
|
func (l *LogoutLogic) Logout(req *types.Header) (resp *types.BaseResponse, err error) {
|
|
// todo: add your logic here and delete this line
|
|
|
|
return
|
|
}
|