Skip to content

Commit

Permalink
!352 fix & improve
Browse files Browse the repository at this point in the history
Merge pull request !352 from OceansDeep/pg
  • Loading branch information
OceansDeep authored and gitee-org committed Jul 18, 2024
2 parents 80a0e0e + 6ab2888 commit 6813272
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void addSeckillApply(String seckillId, String storeId, List<SeckillApplyV
continue;
}
//获取秒杀活动时间段
DateTime startTime = DateUtil.offsetHour(seckill.getStartTime(), seckillApply.getTimeLine());
DateTime startTime = DateUtil.offsetHour(DateUtil.beginOfDay(seckill.getStartTime()), seckillApply.getTimeLine());
//检测是否可以发布促销商品
checkSeckillGoodsSku(seckill, seckillApply, goodsSku, startTime);
//设置秒杀申请默认内容
Expand Down

0 comments on commit 6813272

Please sign in to comment.