wang jun 2 år sedan
förälder
incheckning
04e7941048
1 ändrade filer med 22 tillägg och 5 borttagningar
  1. 22 5
      application/common/server/WatchPay.php

+ 22 - 5
application/common/server/WatchPay.php

@@ -30,13 +30,30 @@ class WatchPay
     //统一下单api路径
     private $unifiedorderurl = "https://api.mch.weixin.qq.com/pay/unifiedorder";
     //水猫工匠商户信息
+    /*private $config = [
+    'appid' => "wxcacf6eb6e7478e29",
+    'appidApp' => "wxe554be4a48e92d5a",
+    'MCHID' => '1616316171',
+    'KEY' => "WaterCat20211001ShuiMaoGongJiang",
+    ];*/
+    /**
+     * appid’ =>"wxea0b365a48661060"
+     * MCHID =>"1638159037"
+     *  KEY=>"yOT6Rn0LfhLZoAtpDPkqkIQHBfqfNJJ4"
+     */
+    /**
+     * 易益康养
+     *
+     * @var array
+     * @author wj
+     * @date 2023-02-18
+     */
     private $config = [
-        'appid' => "wxcacf6eb6e7478e29",
-        'appidApp' => "wxe554be4a48e92d5a",
-        'MCHID' => '1616316171',
-        'KEY' => "WaterCat20211001ShuiMaoGongJiang",
+        'appid' => "wxcacf6eb6e7478e29", //微信
+        'appidApp' => "wxea0b365a48661060", //app
+        'MCHID' => '1638159037',
+        'KEY' => "yOT6Rn0LfhLZoAtpDPkqkIQHBfqfNJJ4",
     ];
-
     public function setConfig($config)
     {
         foreach ($this->$config as $key => $value) {