fly 5 éve
szülő
commit
b6c83e5da1
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/Http/Controllers/Wap/Pay/OrdersController.php

+ 1 - 1
app/Http/Controllers/Wap/Pay/OrdersController.php

@@ -1130,7 +1130,7 @@ class OrdersController extends Controller
                     }
                     $pay_merchant = DB::table('pay_merchants')->select('appid', 'source', 'config_info')
                         ->where('id', $order->pay_merchant_id)->where('is_enabled', 1)->first();
-                    $instance =  WechatPay::Union(json_decode($pay_merchant->config, true));
+                    $instance =  WechatPay::Union($pay_merchant->source, json_decode($pay_merchant->config_info, true));
                     if ($instance->notify($data)) {
                         // 修改表比较多,开启事务
                         DB::beginTransaction();