【修复】商城:秒杀时间段配置的 URL simple-list 不正确的问题

This commit is contained in:
YunaiV 2024-05-11 22:05:41 +08:00
parent 0641f793a3
commit e1a5302b25

View File

@ -78,9 +78,9 @@ public class SeckillConfigController {
return success(SeckillConfigConvert.INSTANCE.convertList(list)); return success(SeckillConfigConvert.INSTANCE.convertList(list));
} }
@GetMapping("/list-all-simple") @GetMapping("/simple-list")
@Operation(summary = "获得所有开启状态的秒杀时段精简列表", description = "主要用于前端的下拉选项") @Operation(summary = "获得所有开启状态的秒杀时段精简列表", description = "主要用于前端的下拉选项")
public CommonResult<List<SeckillConfigSimpleRespVO>> getListAllSimple() { public CommonResult<List<SeckillConfigSimpleRespVO>> getSeckillConfigSimpleList() {
List<SeckillConfigDO> list = seckillConfigService.getSeckillConfigListByStatus( List<SeckillConfigDO> list = seckillConfigService.getSeckillConfigListByStatus(
CommonStatusEnum.ENABLE.getStatus()); CommonStatusEnum.ENABLE.getStatus());
return success(SeckillConfigConvert.INSTANCE.convertList1(list)); return success(SeckillConfigConvert.INSTANCE.convertList1(list));