sunpengfei
2025-09-02 88e55d4e4cf306ab62d63346af50ff7fc7526ba2
FlexJobApi.UserServer.Application/EnterpriseWallets/Commands/AlipayFundExpandindirectCommandHandler.cs
@@ -20,7 +20,6 @@
    /// 支付宝资金二级商户KYB代进件
    /// </summary>
    public class AlipayFundExpandindirectCommandHandler(
            IOptions<AlipayOptions> options,
            AlipayUtils alipayUtils,
            IHttpRemoteService httpRemoteService,
            IRepository<AlipayFundExpandindirectOrder> rep
@@ -30,7 +29,6 @@
        IRequestHandler<AlipayFundExpandindirectOrderCancelCommand, Guid>,
        IRequestHandler<AlipayFundExpandindirectCreateNotifyCommand, Guid>
    {
        private readonly IOptions<AlipayOptions> options = options;
        private readonly AlipayUtils alipayUtils = alipayUtils;
        private readonly IHttpRemoteService httpRemoteService = httpRemoteService;
        private readonly IRepository<AlipayFundExpandindirectOrder> rep = rep;
@@ -83,7 +81,7 @@
            secondaryPartnerInfo.Name = entity.Name;
            secondaryPartnerInfo.IdentityType = entity.IdentityType;
            model.SecondaryPartnerInfo = secondaryPartnerInfo;
            var result = alipayUtils.FundExpandindirectCreate(model, $"{options.Value.NotifyUrl}/api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify");
            var result = alipayUtils.FundExpandindirectCreate(model, $"/api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify");
            if (result.IsError)
            {
                entity.RiskReviewRemark = result.Msg;
@@ -115,7 +113,7 @@
                {
                    ProductCode = request.ProductCode,
                    BizScene = request.BizScene,
                    ImageType = Path.GetExtension(request.File.FileName),
                    ImageType = Path.GetExtension(request.File.FileName).Trim('.').ToLower(),
                    ImageContent = new Aop.Api.Util.FileItem(request.File.FileName, bytes)
                });
                if (result.IsError) throw Oops.Oh(EnumErrorCodeType.s510, result.Msg);