mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-14 15:34:37 +01:00
36 lines
796 B
C#
36 lines
796 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using Serilog;
|
|
|
|
namespace Novaria.SDKServer.CoNovariaollers
|
|
{
|
|
[ApiController]
|
|
[Route("/health-game")]
|
|
public class HealthGameController : ControllerBase
|
|
{
|
|
[Route("identity-auth")]
|
|
public IResult PostIdentityAuth()
|
|
{
|
|
Log.Information("post login received!");
|
|
|
|
string jsonResponse = @"
|
|
{
|
|
""Code"": 200,
|
|
""Data"": {
|
|
""Identity"": {
|
|
""BirthDate"": """",
|
|
""IDCard"": ""500*********11861*"",
|
|
""PI"": """",
|
|
""RealName"": ""*思"",
|
|
""State"": 1,
|
|
""Type"": 0,
|
|
""Underage"": false
|
|
}
|
|
},
|
|
""Msg"": ""OK""
|
|
}
|
|
";
|
|
return Results.Text(jsonResponse, "application/json");
|
|
}
|
|
}
|
|
}
|