This commit is contained in:
dzc committed 2026-09-09 17:45:45 +08:00
1 parent 60d9380a65
commit fe6d988fa3
46 files changed
+5738 -1013

No files matched your search

+14
View File
@@ -29,6 +29,20 @@ abstract class ProductApi {
.toList();
}
/// 按闭区间查询多日食堂菜谱商品,响应结构与单日接口保持一致。
static Future<List<ServiceProduct>?> canteenProductsByDateRange(
Map<String, dynamic> requestBody,
) async {
final res = await HttpManage().dio.post(
"/canteen/canteenDailyMenu/ad/getCanteenListByDateRange",
data: requestBody,
);
if (res.data == null) return null;
return res.data
?.map<ServiceProduct>((e) => ServiceProduct.fromJson(e))
.toList();
}
/// 超市分类
static Future<List<ServiceClassify>?> supermarketClassify(
dynamic pa,