package logic import ( "context" "app.yhyue.com/moapp/jydocs/rpc/userlib/internal/svc" "app.yhyue.com/moapp/jydocs/rpc/userlib/userlib" "github.com/tal-tech/go-zero/core/logx" ) type DocRecycleLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewDocRecycleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DocRecycleLogic { return &DocRecycleLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *DocRecycleLogic) DocRecycle(in *userlib.UserRecoveryRequest) (*userlib.UserCollectResponse, error) { // todo: add your logic here and delete this line return &userlib.UserCollectResponse{}, nil }