mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
23 lines
651 B
C#
23 lines
651 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()
|
|
{
|
|
return new ContentResult { Content = "{\"code\":0}", ContentType = "application/json" };
|
|
}
|
|
|
|
[HttpPost("/common/h5log/log/batch")]
|
|
public ContentResult BatchUpload()
|
|
{
|
|
return new ContentResult
|
|
{ Content = "{\"retcode\":0,\"message\":\"success\",\"data\":null}", ContentType = "application/json" };
|
|
}
|
|
} |