Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
livk-cloud committed Jan 24, 2025
2 parents be061d0 + b5a1ad5 commit b96f605
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
spring-boot = "3.4.1"
spring-boot = "3.4.2"
kotlin = "2.1.0"
pagehelper-starter = "2.1.0"
mybatis = "3.5.19"
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("com.gradle.develocity") version ("3.19")
id("com.gradle.develocity") version ("3.19.1")
}

develocity {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ public class RabbitController {
private final RabbitSend send;

@PostMapping("sendMsgDirect")
public <T> void sendMsgDirect(@RequestBody Message<T> message) {
public void sendMsgDirect(@RequestBody Message<String> message) {
send.sendMsgDirect(message);
}

@PostMapping("sendMsgFanout")
public <T> void sendMsgFanout(@RequestBody Message<T> message) {
public void sendMsgFanout(@RequestBody Message<String> message) {
send.sendMsgFanout(message);
}

@PostMapping("/sendMsgTopic/{key}")
public <T> void sendMsgTopic(@RequestBody Message<T> message, @PathVariable String key) {
public void sendMsgTopic(@RequestBody Message<String> message, @PathVariable String key) {
send.sendMsgTopic(message, key);
}

@PostMapping("sendMsgHeaders")
public <T> void sendMsgHeaders(@RequestBody Message<T> message, @RequestParam String json) {
public void sendMsgHeaders(@RequestBody Message<String> message, @RequestParam String json) {
send.sendMsgHeaders(message, JsonMapperUtils.readValueMap(json, String.class, Object.class));
}

Expand Down

0 comments on commit b96f605

Please sign in to comment.