记得上下班打卡 | git大法好,push需谨慎

Commit 522632ad authored by 胡佳晨's avatar 胡佳晨

Merge branch 'dev' into test

parents a03bc339 0560c418
...@@ -11,6 +11,7 @@ import java.util.List; ...@@ -11,6 +11,7 @@ import java.util.List;
public class Error { public class Error {
String message; String message;
String code; String code;
Object data;
public Error() { public Error() {
...@@ -20,20 +21,4 @@ public class Error { ...@@ -20,20 +21,4 @@ public class Error {
this.code = code; this.code = code;
this.message = message; this.message = message;
} }
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
} }
...@@ -203,7 +203,7 @@ public class KylinOrderTickets implements Serializable { ...@@ -203,7 +203,7 @@ public class KylinOrderTickets implements Serializable {
orderTicketsId, userId, userName, userMobile, performanceTitle, orderCode, qrCode, orderType, orderVersion, orderTicketsId, userId, userName, userMobile, performanceTitle, orderCode, qrCode, orderType, orderVersion,
number, price, priceMember, priceTotal, priceVoucher, priceActual, priceExpress, priceRefund, refundNumber, number, price, priceMember, priceTotal, priceVoucher, priceActual, priceExpress, priceRefund, refundNumber,
payType, paymentType, timePay, expressContacts, expressAddress, expressPhone, couponType, getTicketType, payType, paymentType, timePay, expressContacts, expressAddress, expressPhone, couponType, getTicketType,
getTicketDescribe, payCountdownMinute, comment, createdAt, updatedAt,payCode getTicketDescribe, payCountdownMinute, comment, createdAt, updatedAt, payCode
}; };
} }
...@@ -212,9 +212,9 @@ public class KylinOrderTickets implements Serializable { ...@@ -212,9 +212,9 @@ public class KylinOrderTickets implements Serializable {
* *
* @return * @return
*/ */
public Object[] getPayAgainObject(LocalDateTime updateTime,LocalDateTime createTime) { public Object[] getPayAgainObject(LocalDateTime updateTime, LocalDateTime createTime) {
return new Object[]{ return new Object[]{
updatedAt, orderCode, orderTicketsId,updateTime,createTime orderCode, updatedAt, orderTicketsId, updateTime, createTime
}; };
} }
...@@ -223,9 +223,9 @@ public class KylinOrderTickets implements Serializable { ...@@ -223,9 +223,9 @@ public class KylinOrderTickets implements Serializable {
* *
* @return * @return
*/ */
public Object[] getSynOrderObject(LocalDateTime updateTime,LocalDateTime createTime) { public Object[] getSynOrderObject(LocalDateTime updateTime, LocalDateTime createTime) {
return new Object[]{ return new Object[]{
paymentType, payCode, timePay, qrCode, updatedAt, orderTicketsId,updateTime,createTime paymentType, payCode, timePay, qrCode, updatedAt, orderTicketsId, updateTime, createTime
}; };
} }
......
...@@ -942,6 +942,8 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM ...@@ -942,6 +942,8 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
checkOrderTime(uid); checkOrderTime(uid);
KylinOrderTicketVo orderTicketVo = dataUtils.getOrderTicketVo(orderId); KylinOrderTicketVo orderTicketVo = dataUtils.getOrderTicketVo(orderId);
if (!orderTicketVo.getUserId().equals(uid)) { if (!orderTicketVo.getUserId().equals(uid)) {
log.error("ORDER_TICKET_USER_ID : {}",orderTicketVo.getUserId());
log.error("TOKEN UID : {}",uid);
return null; return null;
} }
if (null != orderTicketVo) { if (null != orderTicketVo) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment