Browse Source

调整pay_type取值

family 1 year ago
parent
commit
b209bee590
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/controller/api/Notify.php

+ 2 - 1
app/controller/api/Notify.php

@@ -117,7 +117,8 @@ class Notify
117
                                     'reverse_amt' => $post_data_str['pay_amt'],
117
                                     'reverse_amt' => $post_data_str['pay_amt'],
118
                                     'notify_url'  => env('APP_URL') . "/api/hf_notify/reverse_order",
118
                                     'notify_url'  => env('APP_URL') . "/api/hf_notify/reverse_order",
119
                                 ];
119
                                 ];
120
-                                $hf_refund_res = app()->make(StoreRefundOrderRepository::class)->payment_Reverse($refund_traits, $pay_type['pay_type'] == '1' ? 2 : 1, $group_order['pay_wx'], $key);
120
+//                                $hf_refund_res = app()->make(StoreRefundOrderRepository::class)->payment_Reverse($refund_traits, $pay_type['pay_type'] == '1' ? 2 : 1, $group_order['pay_wx'], $key);
121
+                                $hf_refund_res = app()->make(StoreRefundOrderRepository::class)->payment_Reverse($refund_traits, $pay_type == '1' ? 2 : 1, $group_order['pay_wx'], $key);
121
 
122
 
122
                                 Db::name('log')->insert(['data'=>'汇付支付撤销返回结果:'.json_encode($hf_refund_res)]);
123
                                 Db::name('log')->insert(['data'=>'汇付支付撤销返回结果:'.json_encode($hf_refund_res)]);
123
                                 break;
124
                                 break;