dever 6 years ago
parent
commit
7b7854cae9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      act/lib/Pay.php

+ 3 - 0
act/lib/Pay.php

@@ -154,6 +154,9 @@ class Pay
 	public function act_api($param = array())
 	{
         $send = Dever::preInput('pay_');
+        if (!$send) {
+            $send = $param;
+        }
         $key = md5($this->key);
         ksort($send);
         $send['signature'] = md5($key . '&' . http_build_query($send));