dever hace 6 años
padre
commit
9d24cac15c
Se han modificado 1 ficheros con 8 adiciones y 5 borrados
  1. 8 5
      act/lib/Pay.php

+ 8 - 5
act/lib/Pay.php

@@ -153,10 +153,13 @@ class Pay
 	 */
 	public function act_api($param = array())
 	{
-        $send = Dever::preInput('pay_');
-        if (!$send) {
-            $send = $param;
-        }
+        
+	}
+
+    public function act($param = array())
+    {
+        //$send = Dever::preInput('pay_');
+        $send = $param;
         $key = md5($this->key);
         ksort($send);
         $send['signature'] = md5($key . '&' . http_build_query($send));
@@ -166,7 +169,7 @@ class Pay
         }
 
         return 'ok';
-	}
+    }
 
     public function act_action($send)
     {