From 6b5c0022a6fdf5c3026650d231530ff6b32a72b4 Mon Sep 17 00:00:00 2001
From: lingling <kety1122@163.com>
Date: 星期五, 14 三月 2025 16:20:51 +0800
Subject: [PATCH] 添加配置

---
 LifePayment/LifePayment.Host/appsettings.json                |   18 +++++++++++++++++-
 LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs |    2 +-
 LifePayment/LifePayment.Application/User/AccountService.cs   |    3 ---
 3 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/LifePayment/LifePayment.Application/User/AccountService.cs b/LifePayment/LifePayment.Application/User/AccountService.cs
index c6c47e0..948e4ee 100644
--- a/LifePayment/LifePayment.Application/User/AccountService.cs
+++ b/LifePayment/LifePayment.Application/User/AccountService.cs
@@ -19,13 +19,10 @@
 
 
         public AccountService(
-
                IRepository<LifePayUser, Guid> lifePayUserRepository
 )
         {
-     
             _lifePayUserRepository = lifePayUserRepository;
-     
         }
 
         #region 鏌ヨ
diff --git a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs
index ede9205..adfdb5a 100644
--- a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs
+++ b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs
@@ -149,7 +149,7 @@
                 cacheOptions.KeyPrefix = "LifePaymentServices_";
                 cacheOptions.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromMinutes(20);
             });
-
+            this.Configure<ACOOLYOption>(configuration.GetSection("ACOOLY"));
         }
 
         public override void OnApplicationInitialization(ApplicationInitializationContext context)
diff --git a/LifePayment/LifePayment.Host/appsettings.json b/LifePayment/LifePayment.Host/appsettings.json
index a870a14..eec152f 100644
--- a/LifePayment/LifePayment.Host/appsettings.json
+++ b/LifePayment/LifePayment.Host/appsettings.json
@@ -115,6 +115,22 @@
     "BankWalletAccountOpenCodeValidTime": 5, //閾惰閽卞寘寮�鎴烽獙璇佺爜鏈夋晥鏃堕棿(鍗曚綅鍒�)
     "FaceAuthReturnUrl": "https://www.81812333.com/"
   },
-
+  "ACOOLY": {
+    "PartnerId": "250220171531F0572977",
+    "SecrtKey": "d2fd519f5ed71515c0f9f7231a81a7d6",
+    "ServerHost": "http://recharge.huazhiweilai.com/gateway.do",
+    "Accesskey": "250220171531F0572977",
+    //"NotifyUrl": "https://api.81812333.com"
+    "NotifyUrl": "https://testrlywx.boleyuma.com"
+  },
+  "WxLifePayApp": {
+    "Url": "https://api.weixin.qq.com",
+    "EnvVersion": "trial", //灏忕▼搴忕増鏈�傛寮忕増涓� "release"锛屼綋楠岀増涓� "trial"锛屽紑鍙戠増涓� "develop",
+    "SignUpPage": "subpackages/login/authorization/authorization", //鎵爜娉ㄥ唽/鐧诲綍鍏ュ彛椤�
+    "AppId": "wx88251c84f5cd886b",
+    "Secret": "885e737a35a9385226793ca27c76816d",
+    "CheckPath": false,
+    "AppName": "鐢熸椿缂磋垂"
+  },
   "AllowedHosts": "*"
 }
\ No newline at end of file

--
Gitblit v1.9.1