12345678910111213141516171819202122232425262728293031 |
- package logic
- import (
- "context"
- "jyBXSubscribe/rpc/model"
- "jyBXSubscribe/rpc/internal/svc"
- "jyBXSubscribe/rpc/type/bxsubscribe"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type DeriveDelLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewDeriveDelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeriveDelLogic {
- return &DeriveDelLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 删除自动数据导出筛选条件
- func (l *DeriveDelLogic) DeriveDel(in *bxsubscribe.DeriveReq) (*bxsubscribe.StatusResp, error) {
- // todo: add your logic here and delete this line
- return model.ScreeningDelete(in.InfoId), nil
- }
|