| | |
| | | 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; |
| | | |
| | |
| | | |
| | | |
| | | @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(); |
| | |
| | | } |
| | | |
| | | @PostMapping("/xiMaDoubleScreenReportPush") |
| | | public JSONObject xiMaDoubleScreenReportPush(JSONObject jsonObject) throws Exception { |
| | | public JSONObject xiMaDoubleScreenReportPush(@RequestBody JSONObject jsonObject){ |
| | | log.info("双屏仪报告推送:{}",jsonObject); |
| | | // 主体信息 |
| | | String reportTime = jsonObject.getString("report_time"); // 报告时间 |