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 size;
|
||||||
|
|
||||||
|
private String tag;
|
||||||
|
|
||||||
private String shape;
|
private String shape;
|
||||||
|
|
||||||
private String snapshotLink;
|
private String snapshotLink;
|
||||||
|
|
||||||
|
private Integer quantity;
|
||||||
|
|
||||||
private BigDecimal totalAmount;
|
private BigDecimal totalAmount;
|
||||||
|
|
||||||
private List<Photo> photos;
|
private List<Photo> photos;
|
||||||
|
|||||||
@@ -425,9 +425,8 @@ public class KioskServiceImpl implements IKioskApiService {
|
|||||||
if (order.getStatus() != 1) {
|
if (order.getStatus() != 1) {
|
||||||
throw new ServiceException("Invalid order status.");
|
throw new ServiceException("Invalid order status.");
|
||||||
}
|
}
|
||||||
|
if (StringUtil.isNotBlank(request.getContent())) {
|
||||||
boolean match = RegexUtil.match(request.getContent(), RegexUtil.EMAIL);
|
boolean match = RegexUtil.match(request.getContent(), RegexUtil.EMAIL);
|
||||||
if (StringUtil.isBlank(request.getContent())) {
|
|
||||||
if (match) {
|
if (match) {
|
||||||
order.setUserEmail(request.getContent());
|
order.setUserEmail(request.getContent());
|
||||||
} else if (request.getContent().chars().allMatch(Character::isDigit)) {
|
} else if (request.getContent().chars().allMatch(Character::isDigit)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user