TRX 1 gadu atpakaļ
vecāks
revīzija
f3af1a5560

+ 1 - 1
OneCardIotServer/src/main/java/com/zhongshu/iot/server/core/controller/openAPi/DeviceIotOpenApiController.java

@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RestController;
  * @author TRX
  * @date 2024/11/11
  */
-@RequestMapping("/iotOpenAPI/manager/devices")
+@RequestMapping("/iotOpenAPI/manager/v1/devices")
 @RestController
 @Validated
 @Tag(name = "设备管理-开放接口")

+ 1 - 1
OneCardIotServer/src/main/java/com/zhongshu/iot/server/core/controller/openAPi/IotSendApiController.java

@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.RestController;
  * @author TRX
  * @date 2024/3/21
  */
-@RequestMapping("/iotOpenAPI/manager")
+@RequestMapping("/iotOpenAPI/manager/v1")
 @RestController
 @Validated
 @Tag(name = "物模型-调用服务")

+ 1 - 0
OneCardIotServer/src/main/java/com/zhongshu/iot/server/core/service/iot/IotSendMessageService.java

@@ -73,6 +73,7 @@ public class IotSendMessageService extends SuperService {
      * @return
      */
     public ResultContent sendIotMessage(IotSendParam param) {
+        log.info("****************sendIotMessage***************设备ID={}  功能类型={}", param.getDeviceId(), param.getIdentifier());
         IotMainSearch search = new IotMainSearch();
         BeanUtils.copyProperties(param, search);
         search.setIotDataType(IotDataType.Device);