package orderservicelogic import ( "context" "app-cloudep-trade-service/gen_result/pb/trade" "app-cloudep-trade-service/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type DeleteOrderLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewDeleteOrderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteOrderLogic { return &DeleteOrderLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // DeleteOrder 刪除訂單(軟刪除) func (l *DeleteOrderLogic) DeleteOrder(in *trade.DeleteOrderReq) (*trade.OKResp, error) { // todo: add your logic here and delete this line return &trade.OKResp{}, nil }