mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-15 00:14:48 +01:00
14 lines
389 B
C#
14 lines
389 B
C#
namespace nksrv.IntlServer
|
|
{
|
|
public class CodeStatusEndpoint : IntlMsgHandler
|
|
{
|
|
public override bool RequiresAuth => false;
|
|
|
|
protected override async Task HandleAsync()
|
|
{
|
|
// pretend that any code is valid
|
|
await WriteJsonStringAsync("{\"expire_time\":759,\"msg\":\"Success\",\"ret\":0,\"seq\":\"" + Seq + "\"}");
|
|
}
|
|
}
|
|
}
|