forked from AcaMate/AcaMate_API
[♻️] 반환 코드 수정
This commit is contained in:
parent
0b65855e15
commit
cb159397af
|
@ -47,15 +47,19 @@ public static class APIResponse
|
|||
return Send("100", msg ?? "입력 값이 유효하지 않습니다.", "");
|
||||
}
|
||||
|
||||
public static APIResponseStatus<string> AccessExpireError(string? msg = null)
|
||||
{
|
||||
return Send("101", msg ?? "엑세스 토큰이 유효하지 않습니다.", "");
|
||||
}
|
||||
|
||||
|
||||
// -- -- -- OUTPUT ERROR -- -- -- //
|
||||
public static APIResponseStatus<string> NotFoundError(string? msg = null)
|
||||
{
|
||||
return Send("200", msg ?? "알맞은 값을 찾을 수 없습니다.", "");
|
||||
}
|
||||
|
||||
public static APIResponseStatus<string> AccessExpireError(string? msg = null)
|
||||
{
|
||||
return Send("201", msg ?? "엑세스 토큰이 만료되었습니다.", "");
|
||||
}
|
||||
|
||||
|
||||
public static APIResponseStatus<string> InternalSeverError(string? msg = null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user