后端:pingxx 回调接口,增加错误日志

This commit is contained in:
YunaiV
2019-04-21 20:34:26 +08:00
parent e0713cda1f
commit 3e156b18ee
2 changed files with 6 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ public class PayTransactionController {
@PostMapping(value = "pingxx_pay_success", consumes = MediaType.APPLICATION_JSON_VALUE)
// @GetMapping(value = "pingxx_pay_success")
public String pingxxSuccess(HttpServletRequest request) throws IOException {
logger.info("[pingxxSuccess][被回调]");
// 读取 webhook
StringBuilder sb = new StringBuilder();
try (BufferedReader reader = request.getReader()) {