32 lines
648 B
Go
32 lines
648 B
Go
package user
|
|
|
|
import (
|
|
"context"
|
|
|
|
"mingyang-admin-app-rpc/internal/svc"
|
|
"mingyang-admin-app-rpc/types/app"
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
|
|
type ForceLogoutPcLogic struct {
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
logx.Logger
|
|
}
|
|
|
|
func NewForceLogoutPcLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ForceLogoutPcLogic {
|
|
return &ForceLogoutPcLogic{
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
Logger: logx.WithContext(ctx),
|
|
}
|
|
}
|
|
|
|
// C端用户强制登出
|
|
func (l *ForceLogoutPcLogic) ForceLogoutPc(in *app.IDReq) (*app.BaseResp, error) {
|
|
// todo: add your logic here and delete this line
|
|
|
|
return &app.BaseResp{}, nil
|
|
}
|