Skip to content

Commit 46ad7fb

Browse files
authored
祝大家都能吃饱
1 parent dce42dc commit 46ad7fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/Api.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ public static Map<String, Object> getCart(boolean noProductsContinue) {
196196
if (!noProductsContinue) {
197197
context.put("end", new HashMap<>());
198198
}
199+
context.put("noProduct", new HashMap<>());
199200
return null;
200201
}
201202
JSONObject newOrderProduct = data.getJSONArray("new_order_product_list").getJSONObject(0);
@@ -277,6 +278,7 @@ public static Map<String, Object> getMultiReserveTime(String addressId, Map<Stri
277278
}
278279
}
279280
print(false, "无可选的配送时间");
281+
context.put("noReserve", new HashMap<>());
280282
context.remove("multiReserveTimeMap");
281283
} catch (Exception e) {
282284
e.printStackTrace();

0 commit comments

Comments
 (0)