Files
DanhengServer-OpenSource/WebServer/Controllers/LogServerRoutes.cs
2024-05-12 13:20:51 +08:00

18 lines
614 B
C#

using Microsoft.AspNetCore.Mvc;
namespace EggLink.DanhengServer.WebServer.Controllers
{
[ApiController]
[Route("/")]
public class LogServerRoutes
{
[HttpPost("/sdk/dataUpload")]
[HttpPost("/crashdump/dataUpload")]
[HttpPost("/apm/dataUpload")]
public ContentResult LogUpload() => new() { Content = "{\"code\":0}", ContentType = "application/json" };
[HttpPost("/common/h5log/log/batch")]
public ContentResult BatchUpload() => new() { Content = "{\"retcode\":0,\"message\":\"success\",\"data\":null}", ContentType = "application/json" };
}
}