From fb245f04af0c848128da7d14c61694736b4afde7 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期四, 20 十一月 2025 14:50:46 +0800
Subject: [PATCH] Merge branch 'dev-818-3.4.2.12' of http://120.26.58.240:8888/r/ApiTools into dev-818-3.4.2.12
---
ApiTools.Application/WxUtils/Queries/GetWxSettingQueryHandler.cs | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/ApiTools.Application/WxUtils/Queries/GetWxSettingQueryHandler.cs b/ApiTools.Application/WxUtils/Queries/GetWxSettingQueryHandler.cs
new file mode 100644
index 0000000..29b6550
--- /dev/null
+++ b/ApiTools.Application/WxUtils/Queries/GetWxSettingQueryHandler.cs
@@ -0,0 +1,34 @@
+锘縰sing ApiTools.Core;
+using Furion.DatabaseAccessor;
+using MediatR;
+using Microsoft.EntityFrameworkCore;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ApiTools.CommonServer.Application
+{
+ //public class GetWxSettingQueryHandler(IRepository<SmsSetting> rep, IRepository<SmsLog> repSmsLog) : IRequestHandler<GetSmsSettingQuery, GetSmsSettingQueryResult>
+ //{
+ // private readonly IRepository<SmsSetting> rep = rep;
+ // private readonly IRepository<SmsLog> repSmsLog = repSmsLog;
+
+ // /// <summary>
+ // /// 鏌ヨ鐭俊閰嶇疆
+ // /// </summary>
+ // /// <param name="request"></param>
+ // /// <param name="cancellationToken"></param>
+ // /// <returns></returns>
+ // public async Task<GetSmsSettingQueryResult> Handle(GetSmsSettingQuery request, CancellationToken cancellationToken)
+ // {
+ // var logier = JwtUtils.GetCurrentLogier();
+ // var detail = await rep.AsQueryable().AsNoTracking()
+ // .Where(it => it.ChannelId == logier.ChannelId)
+ // .GetDetail<SmsSetting, GetSmsSettingQueryResult>();
+ // detail.Accesses = detail.Accesses.OrderBy(it => it.Sort).ToList();
+ // return detail;
+ // }
+ //}
+}
--
Gitblit v1.9.1