1128
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
using BrokerApiServer;
|
||||
using BrokerApiCore;
|
||||
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using Swashbuckle.AspNetCore.Annotations;
|
||||
|
||||
|
||||
using BrokerApiCore;
|
||||
namespace BrokerApiServer.Controllers;
|
||||
|
||||
[Route("api/v1/admin")]
|
||||
[ApiController]
|
||||
// 운영자만 접근 가능한 컨트롤러
|
||||
@@ -118,4 +115,49 @@ public class AdminController : ControllerBase
|
||||
});
|
||||
return Ok(new PlanetItemExchangeOrderListResponse { Orders = order_dtos, TotalCount = total_count });
|
||||
}
|
||||
|
||||
|
||||
[HttpPost("planet_provider_create"), RequireAdminAuth]
|
||||
[Produces("application/json")]
|
||||
[ProducesResponseType(StatusCodes.Status200OK, Type = typeof(AdminPlanetProviderInfoCreateResponse))]
|
||||
[ProducesResponseType(StatusCodes.Status400BadRequest, Type = typeof(ApiErrorResponse))]
|
||||
[SwaggerOperation(Summary = "서비스 제공자 생성 [Bearer 인증 필요]")]
|
||||
public async Task<IActionResult> planetProviderCreate(AdminPlanetProviderInfoCreateRequest request)
|
||||
{
|
||||
await Task.CompletedTask;
|
||||
return Ok(new { });
|
||||
}
|
||||
|
||||
[HttpPost("planet_provider_delete"), RequireAdminAuth]
|
||||
[Produces("application/json")]
|
||||
[ProducesResponseType(StatusCodes.Status200OK, Type = typeof(AdminPlanetProviderInfoDeleteResponse))]
|
||||
[ProducesResponseType(StatusCodes.Status400BadRequest, Type = typeof(ApiErrorResponse))]
|
||||
[SwaggerOperation(Summary = "서비스 제공자 삭제 [Bearer 인증 필요]")]
|
||||
public async Task<IActionResult> planetProviderDelete(AdminPlanetProviderInfoDeleteRequest request)
|
||||
{
|
||||
await Task.CompletedTask;
|
||||
return Ok(new { });
|
||||
}
|
||||
|
||||
[HttpPost("planet_provider_get"), RequireAdminAuth]
|
||||
[Produces("application/json")]
|
||||
[ProducesResponseType(StatusCodes.Status200OK, Type = typeof(AdminPlanetProviderInfoGetResponse))]
|
||||
[ProducesResponseType(StatusCodes.Status400BadRequest, Type = typeof(ApiErrorResponse))]
|
||||
[SwaggerOperation(Summary = "서비스 제공자 정보 조회 [Bearer 인증 필요]")]
|
||||
public async Task<IActionResult> planetProviderRead(AdminPlanetProviderInfoGetRequest request)
|
||||
{
|
||||
await Task.CompletedTask;
|
||||
return Ok(new { });
|
||||
}
|
||||
|
||||
[HttpPost("planet_provider_update"), RequireAdminAuth]
|
||||
[Produces("application/json")]
|
||||
[ProducesResponseType(StatusCodes.Status200OK, Type = typeof(AdminPlanetProviderInfoUpdateResponse))]
|
||||
[ProducesResponseType(StatusCodes.Status400BadRequest, Type = typeof(ApiErrorResponse))]
|
||||
[SwaggerOperation(Summary = "서비스 제공자 정보 수정 [Bearer 인증 필요]")]
|
||||
public async Task<IActionResult> planetProviderUpdate(AdminPlanetProviderInfoUpdateRequest request)
|
||||
{
|
||||
await Task.CompletedTask;
|
||||
return Ok(new { });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user