fix: restore UTF-8 Chinese summaries for marketing swagger names
Replace corrupted ??? XML comments in commission/referral admin APIs so OMS-Marketing operation names render correctly. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
60cb2c5e0f
commit
944b7f2c80
@ -16,7 +16,7 @@ using Oms.Domain.MarketingAggregate.Repositories;
|
|||||||
namespace Oms.Application.Services.Marketing;
|
namespace Oms.Application.Services.Marketing;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ????????? API??????
|
/// 分成明细与提现审核 API(管理端)。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiExplorerSettings(GroupName = "OMS-Marketing")]
|
[ApiExplorerSettings(GroupName = "OMS-Marketing")]
|
||||||
public class MarketingCommissionAdminService : ApplicationService
|
public class MarketingCommissionAdminService : ApplicationService
|
||||||
@ -37,7 +37,7 @@ public class MarketingCommissionAdminService : ApplicationService
|
|||||||
LazyServiceProvider.GetRequiredService<CommissionBalanceMutator>();
|
LazyServiceProvider.GetRequiredService<CommissionBalanceMutator>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ?????????
|
/// 分页查询分成明细。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("/marketing/commission-detail/list")]
|
[HttpPost("/marketing/commission-detail/list")]
|
||||||
public async Task<OmsPageResult<CommissionDetailOutput>> GetDetailListAsync(CommissionDetailListInput input)
|
public async Task<OmsPageResult<CommissionDetailOutput>> GetDetailListAsync(CommissionDetailListInput input)
|
||||||
@ -59,7 +59,7 @@ public class MarketingCommissionAdminService : ApplicationService
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ?????????
|
/// 人工调整佣金余额。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("/marketing/commission-detail/adjust")]
|
[HttpPost("/marketing/commission-detail/adjust")]
|
||||||
public async Task AdjustAsync(CommissionAdjustInput input)
|
public async Task AdjustAsync(CommissionAdjustInput input)
|
||||||
@ -95,7 +95,7 @@ public class MarketingCommissionAdminService : ApplicationService
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ?????????
|
/// 分页查询提现申请。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("/marketing/commission-withdraw/list")]
|
[HttpPost("/marketing/commission-withdraw/list")]
|
||||||
public async Task<OmsPageResult<CommissionWithdrawOutput>> GetWithdrawListAsync(CommissionWithdrawListInput input)
|
public async Task<OmsPageResult<CommissionWithdrawOutput>> GetWithdrawListAsync(CommissionWithdrawListInput input)
|
||||||
@ -131,12 +131,12 @@ public class MarketingCommissionAdminService : ApplicationService
|
|||||||
}
|
}
|
||||||
|
|
||||||
var customer = await CustomerRepository.GetByCustomerCodeAsync(code)
|
var customer = await CustomerRepository.GetByCustomerCodeAsync(code)
|
||||||
?? throw new BusinessException($"???? {code} ???");
|
?? throw new BusinessException(`"客户编号 {code} 不存在`");
|
||||||
input.CustomerId = customer.ParentCustomerId ?? customer.Id;
|
input.CustomerId = customer.ParentCustomerId ?? customer.Id;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ?????????
|
/// 审核通过提现申请。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("/marketing/commission-withdraw/approve")]
|
[HttpPost("/marketing/commission-withdraw/approve")]
|
||||||
public async Task ApproveWithdrawAsync(CommissionWithdrawApproveInput input)
|
public async Task ApproveWithdrawAsync(CommissionWithdrawApproveInput input)
|
||||||
@ -169,7 +169,7 @@ public class MarketingCommissionAdminService : ApplicationService
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ???????
|
/// 驳回提现申请。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("/marketing/commission-withdraw/reject")]
|
[HttpPost("/marketing/commission-withdraw/reject")]
|
||||||
public async Task RejectWithdrawAsync(CommissionWithdrawRejectInput input)
|
public async Task RejectWithdrawAsync(CommissionWithdrawRejectInput input)
|
||||||
|
|||||||
@ -148,7 +148,7 @@ public class MarketingPortalReferralService : ApplicationService
|
|||||||
Valid = true,
|
Valid = true,
|
||||||
InviterCustomerCode = inviter.CustomerCode,
|
InviterCustomerCode = inviter.CustomerCode,
|
||||||
InviterNameMasked = MarketingPortalSessionHelper.MaskName(inviter.CustomerName),
|
InviterNameMasked = MarketingPortalSessionHelper.MaskName(inviter.CustomerName),
|
||||||
Message = "?????"
|
Message = "邀请码有效"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,7 @@ using Oms.Domain.MarketingAggregate.Repositories;
|
|||||||
namespace Oms.Application.Services.Marketing;
|
namespace Oms.Application.Services.Marketing;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ?????? API??????
|
/// 引荐关系管理 API(管理端)。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiExplorerSettings(GroupName = "OMS-Marketing")]
|
[ApiExplorerSettings(GroupName = "OMS-Marketing")]
|
||||||
public class MarketingReferralAdminService : ApplicationService
|
public class MarketingReferralAdminService : ApplicationService
|
||||||
@ -31,7 +31,7 @@ public class MarketingReferralAdminService : ApplicationService
|
|||||||
LazyServiceProvider.GetRequiredService<IMarketingAuditLogRepository>();
|
LazyServiceProvider.GetRequiredService<IMarketingAuditLogRepository>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ????????????
|
/// 分页查询全部引荐人汇总。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("/marketing/referral/referrer-list")]
|
[HttpPost("/marketing/referral/referrer-list")]
|
||||||
public async Task<OmsPageResult<ReferralReferrerOutput>> GetReferrerListAsync(ReferralReferrerListInput input)
|
public async Task<OmsPageResult<ReferralReferrerOutput>> GetReferrerListAsync(ReferralReferrerListInput input)
|
||||||
@ -72,7 +72,7 @@ public class MarketingReferralAdminService : ApplicationService
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ???????????????
|
/// 查询指定引荐人的一级下级列表。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("/marketing/referral/tree")]
|
[HttpPost("/marketing/referral/tree")]
|
||||||
public async Task<OmsPageResult<ReferralTreeNodeOutput>> GetTreeAsync(ReferralTreeInput input)
|
public async Task<OmsPageResult<ReferralTreeNodeOutput>> GetTreeAsync(ReferralTreeInput input)
|
||||||
@ -95,7 +95,7 @@ public class MarketingReferralAdminService : ApplicationService
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ???????????????????????
|
/// 人工改绑引荐关系(仅影响新订单,须填写原因)。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("/marketing/referral/rebind")]
|
[HttpPost("/marketing/referral/rebind")]
|
||||||
public async Task RebindAsync(ReferralRebindInput input)
|
public async Task RebindAsync(ReferralRebindInput input)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user