From ad8e329a739839bf5ce80b42d931b655c2c20356 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期一, 09 六月 2025 15:40:30 +0800 Subject: [PATCH] feat:新增接口x2 GET/api/Promoter/GetChannelConsultationById获取渠道咨询Id GET/api/Promoter/GetPromoter获取推广员信息 --- LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs b/LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs index becb882..770412f 100644 --- a/LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs +++ b/LifePayment/LifePayment.HttpApi/LifePay/PromoterController.cs @@ -15,6 +15,7 @@ using ZeroD.Util.Fadd; using Volo.Abp.Uow; using Nest; +using Volo.Abp; namespace LifePayment.HttpApi { @@ -44,6 +45,17 @@ } /// <summary> + /// 鑾峰彇鎺ㄥ箍鍛樹俊鎭� + /// </summary> + /// <param name="phoneNumber"></param> + /// <returns></returns> + [HttpGet] + public async Task<PromoterDto> GetPromoter(string phoneNumber) + { + return await promoterService.GetPromoter(phoneNumber); + } + + /// <summary> /// 鑾峰彇娓犻亾鍜ㄨ鍒楄〃 /// </summary> /// <param name="input"></param> @@ -65,6 +77,18 @@ return await promoterService.GetChannelConsultationFollowupList(id); } + /// <summary> + /// 鑾峰彇娓犻亾鍜ㄨId + /// </summary> + /// <param name="id"></param> + /// <returns></returns> + /// <exception cref="FriendlyException"></exception> + [HttpGet] + public async Task<ChannelConsultationDto> GetChannelConsultationById(Guid id) + { + return await promoterService.GetChannelConsultationById(id); + } + #endregion #region 鍐欏叆 -- Gitblit v1.9.1