diff --git a/projects/IoTCenter/Api/ApiController.cs b/projects/IoTCenter/Api/ApiController.cs index d36f4fbc..a2ec4b13 100644 --- a/projects/IoTCenter/Api/ApiController.cs +++ b/projects/IoTCenter/Api/ApiController.cs @@ -6,14 +6,12 @@ using IoTCenter.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.ComponentModel.DataAnnotations; using System.Linq; -namespace UserCenter.Controllers +namespace IoTCenter.Api.Controllers { [ApiVersion("1.0")] [Route("api/v{version:apiVersion}/[controller]/[action]")] diff --git a/projects/IoTCenter/Api/DeviceController.cs b/projects/IoTCenter/Api/DeviceController.cs index c4d548d9..ccc27e07 100644 --- a/projects/IoTCenter/Api/DeviceController.cs +++ b/projects/IoTCenter/Api/DeviceController.cs @@ -14,7 +14,7 @@ using System.Linq; using Vibrant.InfluxDB.Client; using Vibrant.InfluxDB.Client.Rows; -namespace UserCenter.Controllers +namespace IoTCenter.Api.Controllers { [ApiVersion("1.0")] [Route("api/v{version:apiVersion}/[controller]/[action]")] diff --git a/projects/IoTCenter/Api/NodeController.cs b/projects/IoTCenter/Api/NodeController.cs index cfd5e088..c5c0b5c0 100644 --- a/projects/IoTCenter/Api/NodeController.cs +++ b/projects/IoTCenter/Api/NodeController.cs @@ -10,7 +10,7 @@ using System; using System.ComponentModel.DataAnnotations; using System.Linq; -namespace UserCenter.Controllers +namespace IoTCenter.Api.Controllers { [ApiVersion("1.0")] [Route("api/v{version:apiVersion}/[controller]/[action]")] diff --git a/projects/IoTCenter/Api/ProductController.cs b/projects/IoTCenter/Api/ProductController.cs index a5f25345..a49247bb 100644 --- a/projects/IoTCenter/Api/ProductController.cs +++ b/projects/IoTCenter/Api/ProductController.cs @@ -7,7 +7,7 @@ using System; using System.ComponentModel.DataAnnotations; using System.Linq; -namespace UserCenter.Controllers +namespace IoTCenter.Api.Controllers { [ApiVersion("1.0")] [Route("api/v{version:apiVersion}/[controller]/[action]")] diff --git a/projects/IoTCenter/Api/SceneController.cs b/projects/IoTCenter/Api/SceneController.cs index 8da23ec3..b7d1a72c 100644 --- a/projects/IoTCenter/Api/SceneController.cs +++ b/projects/IoTCenter/Api/SceneController.cs @@ -3,12 +3,11 @@ using Infrastructure.Data; using Infrastructure.Extensions; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Configuration; using System; using System.ComponentModel.DataAnnotations; using System.Linq; -namespace UserCenter.Controllers +namespace IoTCenter.Api.Controllers { [ApiVersion("1.0")] [Route("api/v{version:apiVersion}/[controller]/[action]")] diff --git a/projects/IoTCenter/Api/SrsController.cs b/projects/IoTCenter/Api/SrsController.cs index 3230242e..4423f5b0 100644 --- a/projects/IoTCenter/Api/SrsController.cs +++ b/projects/IoTCenter/Api/SrsController.cs @@ -9,7 +9,7 @@ using System.Diagnostics; using System.IO; using System.Linq; -namespace UserCenter.Controllers +namespace IoTCenter.Api.Controllers { [ApiVersion("1.0")] [Route("api/v{version:apiVersion}/[controller]/[action]")]