This commit is contained in:
Mrx
2026-05-27 15:18:43 +08:00
parent b16e68f3bd
commit 6cde82ee69
2 changed files with 26 additions and 10 deletions

View File

@@ -449,8 +449,8 @@ func (s *ProductManagementService) GetAllProductsForDictionary(ctx context.Conte
options := interfaces.ListOptions{
Page: 1,
PageSize: 1000, // 获取所有产品
Sort: "category.sort", // 按分类的排序字段排序
PageSize: 1000, // 获取所有产品
Sort: "id", // 按产品ID排序避免JOIN问题
Order: "asc",
}