|
@@ -23,7 +23,7 @@ class Yspay
|
|
|
{
|
|
|
$order = Dever::order();
|
|
|
|
|
|
- $result = $this->action(false, $order, 1, 1);
|
|
|
+ $result = $this->action('89810007372107A', $order, 2, 1);
|
|
|
|
|
|
return $result;
|
|
|
}
|
|
@@ -114,7 +114,7 @@ class Chinaums
|
|
|
$result = Dever::curl($url, $body, 'post');
|
|
|
|
|
|
$decryptData = $this->privateDecrypt($result);
|
|
|
-
|
|
|
+ print_r($content);
|
|
|
print_r($decryptData);die;
|
|
|
|
|
|
if (isset($decryptData['tzWithdrawAmtPublic'])) {
|
|
@@ -127,7 +127,7 @@ class Chinaums
|
|
|
}
|
|
|
|
|
|
|
|
|
- public function act($mid, $order, $cash = 1, $type = 1, $notify = '')
|
|
|
+ public function act($mid, $order, $type = 2, $cash = 1, $notify = '')
|
|
|
{
|
|
|
$url = $this->host() . 'uisouterfront/withdrawback/process';
|
|
|
|
|
@@ -150,7 +150,8 @@ class Chinaums
|
|
|
|
|
|
$result = Dever::curl($url, $body, 'post');
|
|
|
$decryptData = $this->privateDecrypt($result);
|
|
|
-
|
|
|
+ print_r($content);
|
|
|
+ print_r($decryptData);die;
|
|
|
if (isset($decryptData['responseCode']) && ($decryptData['responseCode'] == '000000' || $decryptData['responseCode'] == '000001')) {
|
|
|
return 'ok';
|
|
|
} else {
|