zhengyiming
2025-03-25 7ac8436a62ad1687eeeb732236fd68e45cb7bbdc
fix: bug
1个文件已修改
4 ■■■■ 已修改文件
LifePayment/LifePayment.Application/LifePay/LifePayService.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Application/LifePay/LifePayService.cs
@@ -1570,9 +1570,9 @@
        if (input.LifePayType == LifePayOrderTypeEnum.话费订单)
        {
            var extraProperties = JsonConvert.DeserializeObject<Model_UserAccountExtraProperties>(input.ExtraProperties);
            if (!string.IsNullOrEmpty(extraProperties.Name) && extraProperties.Phone == user.PhoneNumber)
            if (!string.IsNullOrEmpty(extraProperties.Name))
            {
                user.Name = extraProperties.Name;
                user.Name = extraProperties.Phone == user.PhoneNumber ? extraProperties.Name : string.Empty;
            }
        }