update:
1. fix for new design
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -425,9 +425,8 @@ public class KioskServiceImpl implements IKioskApiService {
|
||||
if (order.getStatus() != 1) {
|
||||
throw new ServiceException("Invalid order status.");
|
||||
}
|
||||
|
||||
boolean match = RegexUtil.match(request.getContent(), RegexUtil.EMAIL);
|
||||
if (StringUtil.isBlank(request.getContent())) {
|
||||
if (StringUtil.isNotBlank(request.getContent())) {
|
||||
boolean match = RegexUtil.match(request.getContent(), RegexUtil.EMAIL);
|
||||
if (match) {
|
||||
order.setUserEmail(request.getContent());
|
||||
} else if (request.getContent().chars().allMatch(Character::isDigit)) {
|
||||
|
||||
Reference in New Issue
Block a user