From 5b1e0cd79b93ffb4c784ad15886066623845f9e3 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期二, 10 六月 2025 11:14:08 +0800
Subject: [PATCH] Merge branch 'dev-1.3' of http://120.26.58.240:8888/r/LifePaymentApi into dev-1.3

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

diff --git a/LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs b/LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs
index 770412f..51ac6dc 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);
@@ -101,7 +103,7 @@
         /// <exception cref="FormatException"></exception>
         [HttpPost]
         [AllowAnonymous]
-        public async Task<Guid> CreateOrUpdatePromoter(CreateOrUpdatePromoterInput input)
+        public async Task<CreateOrUpdatePromoterOutput> CreateOrUpdatePromoter(CreateOrUpdatePromoterInput input)
         {
             return await promoterService.CreateOrUpdatePromoter(input);
         }

--
Gitblit v1.9.1