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

Commit 5c1486b7 authored by 胡佳晨's avatar 胡佳晨

提交 再次申请退款接口

parent 9d085ed3
......@@ -362,7 +362,7 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService {
LocalDateTime now = LocalDateTime.now();
GoblinBackOrderVo backOrder = redisUtils.getBackOrderVo(orderBackId);
GoblinStoreOrderVo orderVo = redisUtils.getGoblinOrder(backOrder.getOrderId());
if (!orderVo.getUserId().equals(uid)) {
if (!orderVo.getUserId().equals(uid) || !backOrder.getStatus().equals(GoblinStatusConst.Status.ORDER_BACK_STATUS_3.getValue())) {
return ResponseDto.failure("无权操作");
}
if (!(orderVo.getStatus() == GoblinStatusConst.Status.ORDER_STATUS_2.getValue() ||
......
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