From bd97e58274c470f03963a1724162342383d51171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Fri, 15 Aug 2025 15:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/utils/WuYouPayUtils.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/utils/WuYouPayUtils.php b/app/utils/WuYouPayUtils.php index f034fdf..9afa371 100644 --- a/app/utils/WuYouPayUtils.php +++ b/app/utils/WuYouPayUtils.php @@ -26,14 +26,14 @@ class WuYouPayUtils } $booted = true; - self::$mchId = '100360'; - self::$payUrl = 'http://47.113.117.120/api/order'; - self::$notifyUrl = 'https://ph.hnsiyao.cn/api/wuyou/notify'; - self::$h5BaseUrl = 'https://ph.hnsiyao.cn/api/wuyou/notify'; - self::$secret = '3MWSBmyKDeQDLXzoLr53tKVqiJv4Fm0KdsEhbpXW9YWvh35VgozL5S3rpUz4EjSb'; - self::$extractUrl = 'http://47.113.117.120/api/salary'; - self::$extractNotifyUrl = 'http://47.113.117.120/api/salary'; - self::$queryUrl = 'http://47.113.117.120/api/queryOrder'; + self::$mchId = config('wuyou.merchant_id', ''); + self::$payUrl = config('wuyou.url', ''); + self::$notifyUrl = config('wuyou.notify_url', ''); + self::$h5BaseUrl = config('wuyou.h5_base_url', ''); + self::$secret = config('wuyou.secret', ''); + self::$extractUrl = config('wuyou.extract_url', ''); + self::$extractNotifyUrl = config('wuyou.extract_notify_url', ''); + self::$queryUrl = config('wuyou.query_url', ''); if (hasEmpty(self::$mchId, self::$payUrl, self::$notifyUrl, self::$h5BaseUrl, self::$secret)) { throw new SysException('缺少必要参数');