1. fix for new design
This commit is contained in:
2026-03-15 23:10:18 +08:00
parent baadf552f6
commit 5b49c7a591
2 changed files with 6 additions and 3 deletions

View File

@@ -60,10 +60,14 @@ public class OrderDetailVO extends TenantEntity {
private String size;
private String tag;
private String shape;
private String snapshotLink;
private Integer quantity;
private BigDecimal totalAmount;
private List<Photo> photos;

View File

@@ -425,9 +425,8 @@ public class KioskServiceImpl implements IKioskApiService {
if (order.getStatus() != 1) {
throw new ServiceException("Invalid order status.");
}
if (StringUtil.isNotBlank(request.getContent())) {
boolean match = RegexUtil.match(request.getContent(), RegexUtil.EMAIL);
if (StringUtil.isBlank(request.getContent())) {
if (match) {
order.setUserEmail(request.getContent());
} else if (request.getContent().chars().allMatch(Character::isDigit)) {