feat 电子餐券
This commit is contained in:
@@ -613,6 +613,7 @@ public class OrderService : BaseOrderService, IOrderService
|
||||
{
|
||||
if (request.ThirdNo.IsPresent())
|
||||
{
|
||||
|
||||
var redisCache = _serviceProvider.GetService<RedisCache>();
|
||||
|
||||
await using var handler = await redisCache.LockAsync($"consume:device:{request.ThirdNo}");
|
||||
@@ -675,7 +676,6 @@ public class OrderService : BaseOrderService, IOrderService
|
||||
Msg = message
|
||||
};
|
||||
}
|
||||
|
||||
async Task<bool> ToCheckAbleOfflineConsumeAsync(string thirdNo)
|
||||
{
|
||||
var order = await DbContext.Queryable<CanteenOrderEntity>()
|
||||
|
||||
Reference in New Issue
Block a user