From 6cc1fae81a73188769943615806ff11c4c0f8553 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期一, 09 六月 2025 16:40:38 +0800
Subject: [PATCH] pref:h5接口去掉认证限制

---
 LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs b/LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs
index 770412f..b861104 100644
--- a/LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs
+++ b/LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs
@@ -50,6 +50,7 @@
         /// <param name="phoneNumber"></param>
         /// <returns></returns>
         [HttpGet]
+        [AllowAnonymous]
         public async Task<PromoterDto> GetPromoter(string phoneNumber)
         {
             return await promoterService.GetPromoter(phoneNumber);
@@ -84,6 +85,7 @@
         /// <returns></returns>
         /// <exception cref="FriendlyException"></exception>
         [HttpGet]
+        [AllowAnonymous]
         public async Task<ChannelConsultationDto> GetChannelConsultationById(Guid id)
         {
             return await promoterService.GetChannelConsultationById(id);

--
Gitblit v1.9.1