fix 代码优化

This commit is contained in:
2024-03-20 12:42:48 +08:00
parent 03b73515b5
commit 4366b68831
25 changed files with 514 additions and 440 deletions

View File

@@ -96,7 +96,7 @@ public class DishesMenuService : IDishesMenuService
//检验权限
var res = await _businessPlacePermissionsService.GetMyAsync();
var myBps = res.dtos.Select(x => x.Code).ToList();
var myBps = res.Select(x => x.Code).ToList();
myBps.Contains(request.BusinessPlaceCode).ThrowIfFalse("非经营营业点,无法保存菜单");