接口优化
This commit is contained in:
parent
484d54b2b1
commit
245fbf9902
|
|
@ -117,7 +117,7 @@ public class DeviceMessageController {
|
||||||
}
|
}
|
||||||
|
|
||||||
//设备功能调用
|
//设备功能调用
|
||||||
@PostMapping("invoked/{deviceId}/functionId/{functionId}")
|
@PostMapping("invoked/{deviceId}/function/{functionId}")
|
||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
public Flux<?> invokedFunction(@PathVariable String deviceId, @PathVariable String functionId, @RequestBody Map<String, Object> properties) {
|
public Flux<?> invokedFunction(@PathVariable String deviceId, @PathVariable String functionId, @RequestBody Map<String, Object> properties) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue