mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 05:44:34 +01:00
Init enter game
This commit is contained in:
36
SdkServer/Handlers/Sdk/LogDataUploadController.cs
Normal file
36
SdkServer/Handlers/Sdk/LogDataUploadController.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace KianaBH.SdkServer.Handlers.Sdk;
|
||||
|
||||
[ApiController]
|
||||
public class LogDataUploadController : ControllerBase
|
||||
{
|
||||
[HttpGet("/report")]
|
||||
public IActionResult Report()
|
||||
{
|
||||
return Ok(new { code = 0, message = "OK" });
|
||||
}
|
||||
|
||||
[HttpPost("/{logType}/dataUpload")]
|
||||
public IActionResult LogDataUpload(string logType)
|
||||
{
|
||||
return Ok(new { code = 0, message = "OK" });
|
||||
}
|
||||
|
||||
[HttpPost("/common/h5log/log/batch")]
|
||||
public IActionResult H5LogBatch()
|
||||
{
|
||||
return Ok(new { code = 0, message = "OK" });
|
||||
}
|
||||
|
||||
[HttpGet("/_ts")]
|
||||
public IActionResult GetTs()
|
||||
{
|
||||
return Ok(new
|
||||
{
|
||||
code = 0,
|
||||
message = "app running",
|
||||
milliTs = DateTime.Now.Millisecond.ToString()
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user