|
@@ -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)
|
|
|
{
|