Commit 144488cb7432f2484bac8a5109ac399248fd6205
Merge remote-tracking branch 'origin/master' into feature/vue3
Showing
2 changed files
with
1 additions
and
2 deletions
yudao-framework/yudao-spring-boot-starter-mq/src/main/java/cn/iocoder/yudao/framework/mq/config/YudaoMQAutoConfiguration.java
| @@ -78,7 +78,6 @@ public class YudaoMQAutoConfiguration { | @@ -78,7 +78,6 @@ public class YudaoMQAutoConfiguration { | ||
| 78 | * Redis Stream 的 xreadgroup 命令:https://www.geek-book.com/src/docs/redis/redis/redis.io/commands/xreadgroup.html | 78 | * Redis Stream 的 xreadgroup 命令:https://www.geek-book.com/src/docs/redis/redis/redis.io/commands/xreadgroup.html |
| 79 | */ | 79 | */ |
| 80 | @Bean(initMethod = "start", destroyMethod = "stop") | 80 | @Bean(initMethod = "start", destroyMethod = "stop") |
| 81 | - @Async // 异步化,可降低 5 秒左右的启动时间 | ||
| 82 | public StreamMessageListenerContainer<String, ObjectRecord<String, String>> redisStreamMessageListenerContainer( | 81 | public StreamMessageListenerContainer<String, ObjectRecord<String, String>> redisStreamMessageListenerContainer( |
| 83 | RedisMQTemplate redisMQTemplate, List<AbstractStreamMessageListener<?>> listeners) { | 82 | RedisMQTemplate redisMQTemplate, List<AbstractStreamMessageListener<?>> listeners) { |
| 84 | RedisTemplate<String, ?> redisTemplate = redisMQTemplate.getRedisTemplate(); | 83 | RedisTemplate<String, ?> redisTemplate = redisMQTemplate.getRedisTemplate(); |
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/cart/TradeCartController.java
| @@ -60,7 +60,7 @@ public class TradeCartController { | @@ -60,7 +60,7 @@ public class TradeCartController { | ||
| 60 | 60 | ||
| 61 | @DeleteMapping("/delete") | 61 | @DeleteMapping("/delete") |
| 62 | @ApiOperation("删除购物车商品") | 62 | @ApiOperation("删除购物车商品") |
| 63 | - @ApiImplicitParam(name = "skuId", value = "商品 SKU 编号的数组", required = true, example = "1024,2048", dataTypeClass = List.class) | 63 | + @ApiImplicitParam(name = "skuIds", value = "商品 SKU 编号的数组", required = true, example = "1024,2048", dataTypeClass = List.class) |
| 64 | @PreAuthenticated | 64 | @PreAuthenticated |
| 65 | public CommonResult<Boolean> deleteCartItem(@RequestParam("skuIds") List<Long> skuIds) { | 65 | public CommonResult<Boolean> deleteCartItem(@RequestParam("skuIds") List<Long> skuIds) { |
| 66 | cartService.deleteCartItems(getLoginUserId(), skuIds); | 66 | cartService.deleteCartItems(getLoginUserId(), skuIds); |