From 2007d54cd001b6aba255d9f540d031818b06e203 Mon Sep 17 00:00:00 2001
From: aijinhui <aijinhui>
Date: 星期二, 14 十一月 2023 16:58:50 +0800
Subject: [PATCH] lock请求方式
---
ard-work/src/main/java/com/ruoyi/sy/controller/ArdSyCarLockController.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ard-work/src/main/java/com/ruoyi/sy/controller/ArdSyCarLockController.java b/ard-work/src/main/java/com/ruoyi/sy/controller/ArdSyCarLockController.java
index a202a1b..b9510e0 100644
--- a/ard-work/src/main/java/com/ruoyi/sy/controller/ArdSyCarLockController.java
+++ b/ard-work/src/main/java/com/ruoyi/sy/controller/ArdSyCarLockController.java
@@ -186,13 +186,13 @@
return AjaxResult.success(ardAccessFenceService.updCarAlarm(id));
}
- @GetMapping("/onOff")
+ @PostMapping("/onOff")
@ApiOperation("杩滅▼寮�閿�")
public AjaxResult onOff(@RequestBody LockTypeParam lockTypeParam) {
return AjaxResult.success(ardSyCarLockService.onOff(lockTypeParam));
}
- @GetMapping("/seal")
+ @PostMapping("/seal")
@ApiOperation("杩滅▼灏佸嵃")
public AjaxResult seal(@RequestBody RtuTypeParam rtuTypeParam) {
return AjaxResult.success(ardSyCarLockService.seal(rtuTypeParam));
--
Gitblit v1.9.3