mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
18 lines
614 B
C#
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" };
|
|
}
|
|
}
|