code review:砍价、秒杀的逻辑

This commit is contained in:
YunaiV
2023-09-20 01:07:41 +08:00
parent 1b154699c6
commit c766f7daa5
18 changed files with 68 additions and 51 deletions

View File

@ -31,7 +31,7 @@ public interface CombinationRecordApi {
boolean isCombinationRecordSuccess(Long userId, Long orderId);
/**
* 更新拼团状态为 成功
* 更新拼团状态为成功
*
* @param userId 用户编号
* @param orderId 订单编号
@ -39,7 +39,7 @@ public interface CombinationRecordApi {
void updateRecordStatusToSuccess(Long userId, Long orderId);
/**
* 更新拼团状态为 失败
* 更新拼团状态为失败
*
* @param userId 用户编号
* @param orderId 订单编号

View File

@ -7,6 +7,7 @@ package cn.iocoder.yudao.module.promotion.api.seckill;
*/
public interface SeckillActivityApi {
// TODO @puhui999activityId 改成 id 好点哈;
/**
* 更新秒杀库存
*