添加秒杀活动设置
This commit is contained in:
@@ -110,7 +110,7 @@ public class SeckillServiceImpl extends ServiceImpl<SeckillMapper, Seckill> impl
|
||||
// 保存到MYSQL中
|
||||
boolean result = this.save(seckill);
|
||||
// 保存到MONGO中
|
||||
this.mongoTemplate.save(seckill);
|
||||
this.mongoTemplate.save(seckillVO);
|
||||
//添加秒杀延时任务
|
||||
this.addSeckillStartTask(seckillVO);
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user