xiaogang hace 3 años
padre
commit
9610832e3a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/Services/PayService.php

+ 2 - 2
app/Services/PayService.php

xqd
@@ -38,8 +38,8 @@ class PayService
             'appid' => env("WEIXIN_OPEN_APPID"), // APP APPID
             //'app_id' => 'wxb3fxxxxxxxxxxx', // 公众号 APPID
             //'miniapp_id' => 'wxb3fxxxxxxxxxxx', // 小程序 APPID
-            'mch_id' => '1398823402',
-            'key' => 'c1891122765718911227657189112276',
+            'mch_id' => env("WEIXIN_MCH_ID"),
+            'key' => env("WEIXIN_MCH_KEY"),
             'notify_url' => 'https://'.$_SERVER['HTTP_HOST'].'/api/wx_notify',
             //'cert_client' => './cert/apiclient_cert.pem', // optional, 退款,红包等情况时需要用到
             //'cert_key' => './cert/apiclient_key.pem',// optional, 退款,红包等情况时需要用到