|
@@ -1346,12 +1346,6 @@ class OrdersController extends Controller
|
|
|
|
|
|
$pay_merchant = DB::table('pay_merchants')->select('appid', 'source', 'config_info')->where('id', $order->pay_merchant_id)->first();
|
|
|
|
|
|
- $pay_merchant_config = json_decode($pay_merchant->config_info, true);
|
|
|
- $wechat_pay = WechatPay::instance($pay_merchant->source, $pay_merchant_config);
|
|
|
- $sign = $wechat_pay->signs($data);
|
|
|
-
|
|
|
- dd($sign);
|
|
|
-
|
|
|
// 防止重复推送
|
|
|
if (isset($order->status) && $order->status == 'PAID') {
|
|
|
Log::info('has_pay:' . $trade_no);
|
|
@@ -1359,8 +1353,6 @@ class OrdersController extends Controller
|
|
|
exit();
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
//校验签名
|
|
|
// $sign = _sign($data, json_decode($pay_merchant->config_info, 1)['appKey']);
|
|
|
// if ($sign != $data['sign']) die('failed');
|