diff --git a/Back.csproj b/Back.csproj
index f7dec04..fc3d551 100644
--- a/Back.csproj
+++ b/Back.csproj
@@ -12,6 +12,7 @@
+
diff --git a/Program.cs b/Program.cs
index 3b7eed2..e547be6 100644
--- a/Program.cs
+++ b/Program.cs
@@ -114,7 +114,7 @@ else
// 로컬 테스트 위한 부분 (올릴때는 꺼두기)
-// builder.WebHost.UseUrls("http://0.0.0.0:5144");
+builder.WebHost.UseUrls("http://0.0.0.0:5144");
///// ===== builder 설정 부 ===== /////
@@ -134,7 +134,7 @@ else
}
// 로컬 테스트 위한 부분 (올릴떄는 켜두기)
-app.UseHttpsRedirection();
+// app.UseHttpsRedirection();
app.UseRouting();
// app.MapControllers();
diff --git a/Program/V1/Controllers/PushController.cs b/Program/V1/Controllers/PushController.cs
index c3b1428..f62b4dd 100644
--- a/Program/V1/Controllers/PushController.cs
+++ b/Program/V1/Controllers/PushController.cs
@@ -4,10 +4,9 @@ using Microsoft.AspNetCore.Mvc;
using AcaMate.V1.Services;
-
-
namespace AcaMate.V1.Controllers;
+
[ApiController]
[Route("/api/v1/in/push")]
[ApiExplorerSettings(GroupName = "공통")]
@@ -16,10 +15,12 @@ public class PushController : ControllerBase
private readonly IWebHostEnvironment _env;
private readonly ILogger _logger;
- public PushController(IWebHostEnvironment env, ILogger logger)
+ private readonly IPushQueue _pushQueue;
+ public PushController(IWebHostEnvironment env, ILogger logger, IPushQueue pushQueue)
{
_env = env;
_logger = logger;
+ _pushQueue = pushQueue;
}
[HttpGet()]
@@ -44,48 +45,58 @@ public class PushController : ControllerBase
[HttpPost("send")]
[CustomOperation("푸시전송", "저장된 양식으로, 사용자에게 푸시를 전송한다.(로컬 테스트 불가)", "푸시")]
[ProducesResponseType(StatusCodes.Status200OK, Type = typeof(APIResponseStatus