From 8cffc2cde22edfa1378f5d0e7b9780aa31c6e8ba Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期四, 12 六月 2025 14:06:12 +0800 Subject: [PATCH] pref:导出退款订单新增平台订单号 --- LifePayment/LifePayment.HttpApi/LifePay/LogController.cs | 20 ++++++++------------ 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/LifePayment/LifePayment.HttpApi/LifePay/LogController.cs b/LifePayment/LifePayment.HttpApi/LifePay/LogController.cs index 80a0153..c00fb9a 100644 --- a/LifePayment/LifePayment.HttpApi/LifePay/LogController.cs +++ b/LifePayment/LifePayment.HttpApi/LifePay/LogController.cs @@ -1,23 +1,19 @@ -锘縰sing Castle.Core.Logging; -using LifePayment.Application.Sync; -using Microsoft.AspNetCore.Authorization; +锘縰sing LifePayment.Application.Contracts; +using LifePayment.Domain.Shared; using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; -using System.Collections.Generic; -using System.Threading.Tasks; using Volo.Abp.AspNetCore.Mvc; -namespace LifePayment.HttpApi.LifePay +namespace LifePayment.HttpApi { [Route("api/[controller]/[action]")] [ApiController] public class LogController : AbpController { - private readonly ILogger<LogController> logger; + private readonly ILogService logService; - public LogController(ILogger<LogController> logger) + public LogController(ILogService logService) { - this.logger = logger; + this.logService = logService; } /// <summary> @@ -25,9 +21,9 @@ /// </summary> /// <returns></returns> [HttpPost] - public void LogFront(string message) + public async void LogFront(LogFrontInput message) { - logger.LogInformation($"鍓嶇鏃ュ織锛歿message}"); + await logService.LogFront(message); } } } -- Gitblit v1.9.1