feat: 技术支持工单/企微权限/开发版本管理/消息推送等迭代

This commit is contained in:
2026-08-04 21:32:13 +08:00
parent c8ea5a3119
commit 9d96c73246
1341 changed files with 0 additions and 195605 deletions
@@ -1,19 +0,0 @@
import { Processor, WorkerHost } from '@nestjs/bullmq';
import { Job } from 'bullmq';
import { TradeService } from '../modules/trade/trade.service';
import { DELIVERY_QUEUE } from './jobs.constants';
@Processor(DELIVERY_QUEUE)
export class DeliveryProcessor extends WorkerHost {
constructor(private readonly tradeService: TradeService) {
super();
}
async process(job: Job<{ orderId: string; targetStatus: string }>) {
await this.tradeService.applyStatusTransition(
BigInt(job.data.orderId),
'',
job.data.targetStatus,
);
}
}