|
@@ -1054,7 +1054,9 @@ function __construct(){
|
|
$data['roles'][1]['accountType'] = 'EPS';
|
|
$data['roles'][1]['accountType'] = 'EPS';
|
|
$data['roles'][1]['accountNumber'] = '1000014666';
|
|
$data['roles'][1]['accountNumber'] = '1000014666';
|
|
$res = $this->usps->su_curl($data,$url,$header);
|
|
$res = $this->usps->su_curl($data,$url,$header);
|
|
|
|
+ $this->logic_ding->sendToDing("usps获取获取支付的tokenTT-WK-50521-063".$res);
|
|
$res = json_decode($res, true);
|
|
$res = json_decode($res, true);
|
|
|
|
+
|
|
if(isset($res['paymentAuthorizationToken']))
|
|
if(isset($res['paymentAuthorizationToken']))
|
|
{
|
|
{
|
|
return $res['paymentAuthorizationToken'];
|
|
return $res['paymentAuthorizationToken'];
|