package postservicelogic import ( "context" "app-cloudep-feed-service/gen_result/pb/feed" "app-cloudep-feed-service/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type DeletePostLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewDeletePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePostLogic { return &DeletePostLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // DeletePost 刪除貼文 func (l *DeletePostLogic) DeletePost(in *feed.DeletePostsReq) (*feed.OKResp, error) { // todo: add your logic here and delete this line return &feed.OKResp{}, nil }