james 10 months ago
parent
commit
d24757c5eb

+ 2 - 2
data-protocol-http/data-protocol-http-biz/src/main/java/com/usky/http/service/impl/TcAepCommandServiceImpl.java

@@ -54,9 +54,9 @@ public class TcAepCommandServiceImpl extends AbstractCrudService<TcAepCommandMap
         CreateCommandLwm2mProfileResponse createCommandResponse = client.CreateCommandLwm2mProfile(request);
         String logInfo = "";
         if (createCommandResponse.getStatusCode() != 200) {
-            logInfo = String.format(deviceId,"电信AEP平台下压指令失败");
+            logInfo = String.format(deviceId,": ",createCommandResponse.getStatusCode(),createCommandResponse.getMessage());
         }else{
-            logInfo = String.format(deviceId,"下发命令成功");
+            logInfo = String.format(deviceId,": ","下发命令成功");
         }
         log.info(logInfo);
     }