sunpengfei
2025-06-11 257abf061e8a2e2ffb5ea4eabe6355657fd8262f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using LifePayment.Application.Contracts;
using LifePayment.Domain.Shared;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
 
namespace LifePayment.HttpApi
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class LogController : AbpController
    {
        private readonly ILogService logService;
 
        public LogController(ILogService logService)
        {
            this.logService = logService;
        }
 
        /// <summary>
        /// 记录前端日志
        /// </summary>
        /// <returns></returns>
        [HttpPost]
        public async void LogFront(LogFrontInput message)
        {
            await logService.LogFront(message);
        }
    }
}