修复高德消费明细回推参数错误问题
This commit is contained in:
parent
8aa2127cb0
commit
ff05e78348
|
@ -42,6 +42,8 @@ public class AmapNoteController {
|
||||||
|
|
||||||
@PostMapping("/status")
|
@PostMapping("/status")
|
||||||
public AmapNoteResponse statusEvent(@RequestBody String in) {
|
public AmapNoteResponse statusEvent(@RequestBody String in) {
|
||||||
|
String[] split = in.split("=");
|
||||||
|
in = UriUtils.decode(split[1], StandardCharsets.UTF_8);
|
||||||
// 拆分成键值对
|
// 拆分成键值对
|
||||||
String[] pairs = in.split("&");
|
String[] pairs = in.split("&");
|
||||||
Map<String, String> params = new HashMap<>();
|
Map<String, String> params = new HashMap<>();
|
||||||
|
|
Loading…
Reference in New Issue