Commit 8001d27b by 向延琳

修改设备响应状态

1 parent d0f7affd
...@@ -8,6 +8,8 @@ import org.springframework.stereotype.Component; ...@@ -8,6 +8,8 @@ import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
/** /**
* @author xiangyanlin * @author xiangyanlin
* @date 2022/9/9 * @date 2022/9/9
...@@ -50,4 +52,13 @@ public interface DeviceFreqClient { ...@@ -50,4 +52,13 @@ public interface DeviceFreqClient {
*/ */
@PostMapping(value = "/closeFromDB") @PostMapping(value = "/closeFromDB")
R<Void> closeDeviceFreqFromDB(); R<Void> closeDeviceFreqFromDB();
/**
* 更新状态为已响应
* @param sn 更新状态为已响应
* @return 更新状态为已响应
*/
@PostMapping(value = "/updateResponseStatus")
R<Void> updateDeviceFreqResponseStatus(String sn);
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!