yandaniu 3 dní pred
rodič
commit
ae01630e28

BIN
.vs/Ropin.Inspection.Api/FileContentIndex/2cc04aea-418a-4f98-b283-e049a9c8a9a6.vsidx → .vs/Ropin.Inspection.Api/FileContentIndex/3eb9bf8f-0556-4bcd-9697-3ab8cd394704.vsidx


+ 8 - 8
Ropin.Inspection.Api/Controllers/Base/AIController.cs

@@ -165,14 +165,14 @@ namespace Ropin.Inspection.Api.Controllers.Base
             Console.WriteLine("进入/device/business/generalApp/pushData/alarmData/JObject" + deviceNo);
             return await Task.FromResult(ApiResultModel<object>.GetSuccess(new object { }));
         }
-        [HttpPost]
-        [AllowAnonymous]
-        [Route("/device/business/generalApp/pushData/alarmData/{deviceNo}")]
-        public async Task<ApiResultModel<object>> AlarmData([FromRoute] string deviceNo)
-        {
-            Console.WriteLine("进入/device/business/generalApp/pushData/alarmData/没有JObject" + deviceNo);
-            return await Task.FromResult(ApiResultModel<object>.GetSuccess(new object { }));
-        }
+        //[HttpPost]
+        //[AllowAnonymous]
+        //[Route("/device/business/generalApp/pushData/alarmData/{deviceNo}")]
+        //public async Task<ApiResultModel<object>> AlarmData([FromRoute] string deviceNo)
+        //{
+        //    Console.WriteLine("进入/device/business/generalApp/pushData/alarmData/没有JObject" + deviceNo);
+        //    return await Task.FromResult(ApiResultModel<object>.GetSuccess(new object { }));
+        //}
         [HttpPost]
         [AllowAnonymous]
         [Route("/device/business/generalApp/pushData/alarmData/{deviceNo}")]