1.储值卡支付同步保存库存消耗记录

This commit is contained in:
SongZhang 2024-07-23 11:13:08 +08:00
parent fd293f2df0
commit afb920f360
1 changed files with 6 additions and 0 deletions

View File

@ -405,6 +405,12 @@ public class PayService {
producer.printMechine(orderId);
sendOrderToClient(orderInfo);
// 发送mq消息并保存库存记录
JSONObject data = new JSONObject();
data.put("orderId", orderInfo.getId());
data.put("plat", "miniApp");
mQUtils.sendStockSaleMsg(data);
return Result.success(CodeEnum.SUCCESS, "1");
}