sunpengfei
2025-06-11 e134269d218232c53074aad5860db7419e2aab78
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);
        }