From f91373c6f6c5b079fa730cbb8ab23e3eeb22f55c Mon Sep 17 00:00:00 2001
From: lingling <kety1122@163.com>
Date: 星期一, 17 三月 2025 17:56:40 +0800
Subject: [PATCH] 添加用户

---
 LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs b/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs
index fde6a23..90d9887 100644
--- a/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs
+++ b/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs
@@ -54,7 +54,8 @@
         {
             var aresResult = await _lifePayService.GetElectricSupportArea();
             var parValues = await _lifePayService.GetElectricParValue();
-
+            CheckExtensions.IfTrueThrowUserFriendlyException(aresResult == null, "鐢佃垂鍏呭�煎尯鍩熶笉瀛樺湪");
+            CheckExtensions.IfTrueThrowUserFriendlyException(parValues == null, "鐢佃垂闈㈤涓嶅瓨鍦�");
             foreach (var item in aresResult.ElectricAreaList)
             {
                 var paritem = parValues.ElectricParValue.Where(r => r.AreaName == item.CityName).FirstOrDefault();

--
Gitblit v1.9.1