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

Commit ecba5c8a authored by 胡佳晨's avatar 胡佳晨

发起退款接口 取消用户id判断

parent a3bbef0c
......@@ -217,9 +217,9 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService {
LocalDateTime now = LocalDateTime.now();
String nowStr = DateUtil.getNowTime();
GoblinStoreOrderVo orderVo = redisUtils.getGoblinOrder(param.getOrderId());
if (!orderVo.getUserId().equals(uid)) {
return ResponseDto.failure("无权操作");
}
// if (!orderVo.getUserId().equals(uid)) {
// return ResponseDto.failure("无权操作");
// }
List<String> backOrderIds = redisUtils.getBackOrderByOrderId(param.getOrderId());
for (String backOrderId : backOrderIds) {
......
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