From d8407ef5390938c1bfe638aa76b4bb62cb844701 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期一, 12 一月 2026 18:56:46 +0800
Subject: [PATCH] 修改bug
---
ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/H5AICallbackController.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/H5AICallbackController.java b/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/H5AICallbackController.java
index f596370..8a071b9 100644
--- a/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/H5AICallbackController.java
+++ b/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/H5AICallbackController.java
@@ -17,6 +17,7 @@
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -134,7 +135,7 @@
@PostMapping("/xiMaReportPush")
- public JSONObject xiMaReportPush(JSONObject json) throws Exception {
+ public JSONObject xiMaReportPush(@RequestBody JSONObject json){
TSysAiConfig sysAiConfig = sysAiConfigService.getById(1);
// 应用AES秘钥
String clientKey = sysAiConfig.getClientKey();
@@ -217,7 +218,7 @@
}
@PostMapping("/xiMaDoubleScreenReportPush")
- public JSONObject xiMaDoubleScreenReportPush(JSONObject jsonObject) throws Exception {
+ public JSONObject xiMaDoubleScreenReportPush(@RequestBody JSONObject jsonObject){
log.info("双屏仪报告推送:{}",jsonObject);
// 主体信息
String reportTime = jsonObject.getString("report_time"); // 报告时间
--
Gitblit v1.7.1