Explorar o código

pay auto change

zz %!s(int64=6) %!d(string=hai) anos
pai
achega
222f8f4f60
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      app/Http/Controllers/Wap/Pay/OrdersController.php

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

@@ -1462,9 +1462,9 @@ class OrdersController extends Controller
 
     private function payAlert($pay_merchant_id, $trade_no = '', $pay_info = '', $n = 0)
     {
-        $change_pay_id = 9;
-        if ($pay_merchant_id == 9) {
-            //$change_pay_id = 12;
+        $change_pay_id = 40;
+        if ($pay_merchant_id == 40) {
+            $change_pay_id = 9;
         }
         try {
             $time = (int)date('G');