|
@@ -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();
|