lingling
2025-03-14 6b5c0022a6fdf5c3026650d231530ff6b32a72b4
添加配置
3个文件已修改
23 ■■■■ 已修改文件
LifePayment/LifePayment.Application/User/AccountService.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Host/appsettings.json 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Application/User/AccountService.cs
@@ -19,13 +19,10 @@
        public AccountService(
               IRepository<LifePayUser, Guid> lifePayUserRepository
)
        {
            _lifePayUserRepository = lifePayUserRepository;
        }
        #region 查询
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)
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": "*"
}