增加商品库存redis缓存 & 库存变动发送rabbit消息

This commit is contained in:
Tankaikai
2025-04-16 17:14:41 +08:00
parent 1c5cc04769
commit b320bb757d
7 changed files with 32 additions and 6 deletions

View File

@@ -27,4 +27,8 @@ public interface CacheConstant {
* 点餐机PC端商品列表
*/
String ADMIN_CLIENT_PRODUCT_LIST = ADMIN_CLIENT_PRODUCT_INFO + "list";
/**
* 点餐机PC端商品列表
*/
String SHOP_PRODUCT_STOCK = "shop:{}:product-stock:{}";
}