|
@@ -1,5 +1,7 @@
|
|
|
package com.tzld.piaoquan.risk.control.controller;
|
|
|
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -8,10 +10,12 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@RestController
|
|
|
@RequestMapping("/qw")
|
|
|
public class QwCallbackController {
|
|
|
+ private static final Logger LOGGER = LoggerFactory.getLogger(QwLoginController.class);
|
|
|
|
|
|
@PostMapping("/callback")
|
|
|
public void onMessage(@RequestBody String requestBody) {
|
|
|
// Handle the message
|
|
|
+ LOGGER.info("Received qw message: {}", requestBody);
|
|
|
System.out.println("Received message: " + requestBody);
|
|
|
|
|
|
}
|