1.创建订单同步保存用户id

2.代客下单订单不重复出票
3.订单支付完毕清楚当前台桌缓存订单号
This commit is contained in:
2024-08-31 16:47:12 +08:00
parent 1ee3c33fa0
commit 7be5d2354f
6 changed files with 85 additions and 39 deletions

View File

@@ -26,4 +26,11 @@ public class RedisCst {
public static final String CREATE_ORDER_LOCK = "CREATE_ORDER_LOCK:";
public static final String SEND_STOCK_WARN_MSG = "SEND_STOCK_WARN_MSG:";
public static final String SONG_PAY_LOCK = "song_pay_lock:";
static String CURRENT_TABLE_ORDER = "CURRENT_TABLE_ORDER:";
public static String getCurrentOrderKey(String tableId, String shopId) {
return CURRENT_TABLE_ORDER + shopId + ":" + tableId;
}
}