[🐛] 제대로 안잡혀서 2차 수정

This commit is contained in:
김선규 2024-11-29 10:54:00 +09:00
parent 73cfac228d
commit da0e142a79
2 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@ namespace AcaMate.Common.Models;
public class APIResponseStatus<T>
{
public Status Status { get; set; }
public Status status { get; set; }
public T data { get; set; }
}
@ -24,7 +24,7 @@ public static class ErrorResponse
public static readonly APIResponseStatus<string> InvalidInputError = new APIResponseStatus<string>
{
Status = new Status()
status = new Status()
{
code = "001",
message = "입력 값이 유효하지 않습니다."
@ -33,7 +33,7 @@ public static class ErrorResponse
public static readonly APIResponseStatus<string> NotFoundError = new APIResponseStatus<string>
{
Status = new Status()
status = new Status()
{
code = "002",
message = "알맞은 값을 찾을 수 없습니다."
@ -42,7 +42,7 @@ public static class ErrorResponse
public static readonly APIResponseStatus<string> InternalSeverError = new APIResponseStatus<string>
{
Status = new Status()
status = new Status()
{
code = "003",
message = "통신에 오류가 발생하였습니다."
@ -52,7 +52,7 @@ public static class ErrorResponse
public static readonly APIResponseStatus<string> UnknownError = new APIResponseStatus<string>
{
Status = new Status()
status = new Status()
{
code = "999",
message = "알 수 없는 오류가 발생하였습니다.."

View File

@ -39,7 +39,7 @@ public class AppController : ControllerBase
var response = new APIResponseStatus<Version>
{
Status = new Status()
status = new Status()
{
code = "000",
message = "정상"